Skip to main content
All CollectionsMigrateLimitationsExplorer Limitations
Current Storage Used for Site Collection is Incorrect
Current Storage Used for Site Collection is Incorrect
Updated over 2 weeks ago

Version

Sharepoint 2010

Details

SharePoint keeps a record of the total storage consumed by each Site collection. This number is used by SharePoint to determine if a Site collection is at risk of exceeding the storage quota.

It is possible that this number is incorrect and may not accurately reflect the total amount of storage that is being consumed by the Site collection.

Solution

The following PowerShell command can correct this limitation:

$URL = β€œ http://sp2010β€œ

$Site = Get-SPSite -identity $URL

$Site.RecalculateStorageUsed()

Note: Replace the URL in bold with that of the Site collection that you want to calculate the storage for. You can run the command manually or save as a .ps1 file and execute it as a script.

Did this answer your question?