Just another useful script.
This powershell code shows the site url and the size in GB.
If you need the size in MB, remove “/1024” and replace “GB” with “MB”.
1 2 3 4 5 6 7 |
$sites = Get-SPSite -Limit all foreach ($site in $sites) { $size = $site.Usage.Storage/1024/1024/1024; $size = "{0:n2}" -f $size; Write-Host $site.url $size GB } |
Enjoy!