In PowerShell there is no separate cmdlet to find out Exchange mailbox size directly as it is considered as apart of mailbox statistics information. Hence, you must use the Get-MailboxStatistics cmdlet to find out the size of a particular mailbox. You can use the -Object <total item size> parameter for the same. But, it is difficult to find out the mailbox size changes and compare it with the quota limits using PowerShell codes.
Example PowerShell cmdlets to find out mailbox size:
This cmdlet displays the user name and mailbox size for the user Harry.
This cmdlet helps to sort the mailboxes in the server erpex13-mbx in descending order based on their size.
Exchange Reporter Plus offers a number of reports on mailbox size, it’s growth, the quotas, used up space, archive space available and more. These reports are easy to generate and analyze. They can also be exported to PDF, XLS, HTML and CSV formats. You can schedule these reports to be periodically generated and sent to the configured mail IDs. The mailbox size related reports offered by Exchange Reporter Plus are listed below:
Note:For Exchange Online reports: Navigate to Exchange Online > Exchange Online > Mailbox Reports > Size Reports.
Mailbox Size Changes report is available under Exchange Online > Other Services > Security Reports > Admin Activities Reports.
Shared Mailbox Size report is available under Exchange Online > Exchange Online > Other Exchange Reports > Shared Mailbox Reports.
"Exchange Server mailbox size reports"
"Exchange Online mailbox size reports"
To get insights and important metrics about your Exchange environment without using complex PowerShell scripts, click here.