I want to get all the files from the root folder and its sub-folders, now when I tried this script:
$customerFolderFiles = Get-PnPFolderItem -FolderSiteRelativeUrl $serverRelativeUrl -Recursive -ItemType File
this will not get the files inside the sub-folders and will only get the files inside the root folder, any fix for this?
Thanks