PowerShell script for checking local and Online sync and file status
EXAMPLE 1: Get-OneDriveSyncStatus
- Get the users One Drive sync client status
EXAMPLE 2: Get-OneDriveSyncStatus -Type Personal
- Get the users personal One Drive sync client status
EXAMPLE 3: Get-OneDriveSyncStatus -Type Business
- Get the users One Drive for Business sync client status
EXAMPLE 4: Get-OneDriveSyncStatus -OpenODHealthDashboard
- Open a browser window and navigate to the https://config.office.com portal
EXAMPLE 5: Get-OneDriveSyncStatus -OpenODHealthDashboard
- Open a browser window and navigate to the https://config.office.com portal
EXAMPLE 6: Get-OneDriveSyncStatus -GetOnlineUsageReports -Domain YourDomainName -SaveOnlineUsageReports
- This will connect to SharePoint online and pull the Online Sync usage reports for all users and save them to disk
EXAMPLE 7: Get-OneDriveSyncStatus -SaveFileOutput -ExportDirectoryContents
- Scan the local users OneDrive location and export out the directory contents for review