Wednesday, April 15, 2015

How to get size of all site collections using powershell Script

Get-SPSite | select url, @{label="Size in MB";Expression={$_.usage.storage/1MB}} | Sort-Object -Descending -Property "Total Size in MB" | Format-Table –AutoSize

No comments:

Post a Comment