Re-calculate Site Storage Metrics On Demand

With the release of SharePoint 2013 Service Pack 1, you can now re-calculate site storage metrics on demand. This is done via PowerShell.

This method executes proc_RecalculateStorageMetricsForSite, which can be found in each Content Database. The Content Database must be at the SP1 schema level.

Storage metrics can be found on each site by visiting http://siteUrl/_layouts/15/storman.aspx.

6 Comments

  1. But is there a way to get this information from PowerShell or an API call?

    • Are you asking to get a list of storage metrics similar to the view that is provided through the SharePoint UI? You can get overall Site size using SPSite.Usage.Storage/1GB.

  2. I am looking for the same thing. Can you to get to the StorageMetrics class thru any client side API.

  3. I don’t have access to PowerShell to access the Storage Metrics. I need a JavaScript solution.

  4. Worked great! Ran the PowerShell command and then the Storage Metric job. Thanks!

Leave a Reply