Loading

Exchange Powershell get all mailboxes with sizes

This is a handy powershell script which can be used to gather organisation mailbox settings, which can then be imported into excel for reporting.

Get-Mailbox | get-mailboxstatistics |Ft displayname,itemcount, @{label="total MB";expression={$_.TOTALITEMSIZE.Value.ToMB()}} >c:mailbox.txt

 

Leave a Reply

Your email address will not be published. Required fields are marked *