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.


  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!

  5. Command worked charm.
    and along with this usage.aspx metrics also showing wrong values of storage and can fix it by ruining the method recalucalatestorageused() .But need to be run every time these methods on problem site so was there any permanent fix for it? Thanks!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.