Powershell Command to get size of all Site Collections

Get-SPSite http://sharepoint

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


Comments

Popular posts from this blog

Using External Content Types with Stored Procedures with Input Parameters

Comparison of Power BI Service vs. Power BI Report Server vs. SQL Server Reporting Services