0

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

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

Niall

Leave a Reply

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