Friday, 2 August 2013

How to check site collection size SharePoint 2010 with PowerShell

How to check site collection size SharePoint 2010 with PowerShell

Today , I have script powershell check size for site collection for SharePoint 2010 and report to html file , In html file have all site collection in your farm SharePoint 2010.
1. Open your SharePoint 2010 powershell run as administration
2.  Copy and Paste this copy into powershell
Get-SPSite | select url, @{label=”Size in MB”;Expression={$_.usage.storage/1MB}} | Sort-Object -Descending -Property “Size in MB” | ConvertTo-Html -title “Site Collections sort by size” | Set-Content yourname.html
Check Site Collection size SharePoint2010  with Powershell
3.  Get to location your save file report check site collection size for SharePoint 2010 it get all site collection and summary Size in MB.
 Check Site Collection size SharePoint2010 with Powershell


No comments:

Post a Comment