Monday, December 31, 2012
Show exchange user mailbox size from Powershell
Get-MailboxStatistics -Server YOURSERVERNAME | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(KB)”;expression={$_.TotalItemSize.Value.ToKB()}},ItemCount
You need to change SERVERNAME to your server, you can change KB to MB for totalitemsize.value to show in MB.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment