Solved

Disk Usage of Each Site Collection

Posted on 2014-02-18
2
294 Views
Last Modified: 2014-03-03
Hi Experts,

Is there a quick way to quickly list the disk usage by each site collection?

rgds,
Nickson
0
Comment
Question by:NicksonKoh
2 Comments
 
LVL 9

Assisted Solution

by:skipper68
skipper68 earned 250 total points
ID: 39869305
This will give you a report of all site collections
stsadm -o enumsites -url http://url

<Sites Count="1">
  <Site
    Url="http://url"
    Owner="A\user"
    SecondaryOwner="A\user2"
    ContentDatabase="WSS_Content_DB"
    StorageUsedMB="13756"
    StorageWarningMB="0"
    StorageMaxMB="0" />
</Sites>


If you want to get fancy and use PowerShell, this will give you a nice HTML report.
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 sc.html

Here's a sample output.
Url      Size in MB
http://my.contoso.com/personal/todd      49.2326898574829
http://sharepoint/sites/blob      34.5743083953857
http://sharepoint/sites/team      32.6884136199951
http://sharepoint      9.17551040649414
http://sharepoint/sites/portal      7.49533176422119
http://sharepoint/my/personal/todd      6.4399299621582
http://go.contoso.com      5.47069644927979
0
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 250 total points
ID: 39869677
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question