Public Folder Sizes

A nice PowerShell command to view all public folders’ sizes

Get-PublicFolderStatistics | Sort-Object TotalItemSize -Descending | ft Name,@{label="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}},@{label="TotalDeletedItemSize(MB)";expression={$_.TotalDeletedItemSize.Value.ToMB()}} -wrap | Out-String

 

 

Share

Leave a Reply

Your email address will not be published.

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