Solved

Disk Usage of Each Site Collection

Posted on 2014-02-18
2
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 32

Accepted Solution

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

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…

751 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