如何找到最大的doc lib的大小

时间:2015-03-04 16:34:03

标签: sharepoint-2010

有没有办法找到文档库,其总大小(包含文档的大小总和)是服务器场中的大文件。

我查看了网站分析 - >库存 - >存储使用

但它没有提供我需要的东西

1 个答案:

答案 0 :(得分:0)

我向SharePoint社区发布了相同的问题,我得到了以下答案,并且它有效

如果您有权访问powershell,请使用此

#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

Here it is