Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disk Usage of Each Site Collection

Posted on 2014-02-18
2
Medium Priority
?
301 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 1000 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 32

Accepted Solution

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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

886 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