Get All Exchange Mailbox Summary

Get All Exchange Mailbox Summary

This is a very simple one liner to retrieve the following from all mailboxes in the organisation

  • Users Name
  • Total Item Size
  • Item Count
  • Which DB the MB lives on
  • Which Server the DB is on

[cc lang=’Powershell]

get-mailbox -resultsize unlimited | get-mailboxstatistics | select DisplayName,TotalItemSize,Itemcount,Database,ServerName | export-csv “C:\Get-MailboxesinOU results.csv” -NoTypeInformation

[/cc]

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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