Click here to Skip to main content
15,886,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way to find the document library of which total size (the sum of sizes of its contained documents) is the larges in the farm.

I checked web Analytics --> Inventory --> Storage Usage

But it didn't provide what I need
Posted

1 solution

I got the below answer from StackExchange and it did the job.

if you have access to powershell then use this

#Get the Site collection
$Site = Get-SPsite "http://sharepoint.crescent.com"

#Returns a DataTable similar to "Storage Management Page" in Site settings
$DataTable = $Site.StorageManagementInformation(2,0x11,0,10)

$DataTable | Select Title, ItemCount, Size, Directory | Format-Table


Get SharePoint Library Size with PowerShell[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900