Feb 05 2021 08:56 AM
Hi,
Is there a PowerShell script that i could run that would list all our organisations OneDrive sites and write them to a csv file?
Thank you,
Ollie
Feb 05 2021 11:24 AM
Hello @Oliver McErlane,
One of the options would be to use SharePointPnPPowerShell module and Get-PnPTenantSite cmdlet:
Get-PnPTenantSite -IncludeOneDriveSites -Filter "Url -like '-my.sharepoint.com/personal/'"
Hope that helps.