Solved

Disk Usage of Each Site Collection

Posted on 2014-02-18
2
299 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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