15 March, 2011

Powershell: Get account size with subfolders

Get-MailboxFolderStatistics  -Identity USERNAME | Select-Object Identity, FolderPath, ItemsInFolder,@{n='FolderAndSubfolderSize(MB)';e={$_.FolderAndSubfolderSize.ToMb() }} | Sort-object -descending ItemsInFolder | ft -a

 

No comments:

Post a Comment