Use Exchange PowerShell to get mailbox usage



  • Exchange PowerShell makes it decently straight forward to get mailbox information.

    Get-MailboxDatabase | Get-MailboxStatistics | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-Csv C:\MailBoxSize.csv
    
    DisplayName                                                           ItemCount TotalItemSize
    -----------                                                           --------- -------------
    Bob Jones                                                                 74673 10.01 GB (10,751,652,618 bytes)
    Gary Jones                                                                20161 9.844 GB (10,570,057,464 bytes)
    Yvonne Jones                                                              73889 9.31 GB (9,996,772,465 bytes)
    Sonnie Jones                                                              84546 9.17 GB (9,846,416,471 bytes)
    Marc Jones                                                                24963 9.095 GB (9,765,549,850 bytes)
    ....
    Test User1                                                                    8 50.68 KB (51,899 bytes)
    Test User2                                                                   10 48.76 KB (49,932 bytes)
    Test ELC                                                                     10 48.68 KB (49,844 bytes)