Exchange 2010 - powershell script to find all users mailbox sizes


Exchange powershell script to find all users mailbox sizes

Get-MailboxStatistics -Server 'SERVERNAME' | where {$_.ObjectClass -eq Mailbox”} | Sort-Object TotalItemSize -Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}}  -auto >> c:\Temp\mailbox_size.txt

Replacing SERVERNAME with your server name.

From: https://social.technet.microsoft.com/Forums/exchange/en-us/56ac5fc7-0115-4506-89fd-30b859301b2b/exchange-powershell-script-to-find-all-users-mailbox-sizes?forum=exchange2010 
Share on Google Plus

About Tom DeMeulenaere

Highly accomplished information technology professional with extensive knowledge in System Center Configuration Manager, Windows Server, SharePoint, and Office 365.
    Blogger Comment

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.