Get the OneDrive status and data for all users from tenant.

 Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '-my.sharepoint.com/personal/'" | Select-Object URL, Owner, StorageQuota, StorageUsageCurrent, LastContentModifiedDate


$users = Get-Content -path "C:\Users.txt"

Request-SPOPersonalSite -UserEmails $users


Connect-SPOService -Url https://domain-admin.sharepoint.com

Comments

Popular posts from this blog

How to Improve Workflow Performance in SharePoint Server 2010

PowerShell Script to Check and Generate Report on Access Rights for a Specific User:

Disable Loopbackcheck using PowerShell