Networking HowTos
Networking HowTos

View Exchange Mailbox statistics from the PowerShell

April 11, 2012 Exchange Server, Microsoft

The “Get-MailboxStatistics” PowerShell command can be used to view statistics for a specified mailbox/user account.
The only required parameter is the mailbox name, or the user identity.
For example:

Get-MailboxStatistics -Identity Administrator"


Simply running the Get-MailboxStatistics as per the example above, you will only see a few of the columns that get returned (DisplayName, ItemCount, StorageLimitStatus, and LastLogonTime).
To view all the available columns/values, you can pipe the Get-MailboxStatistics command to “fl”, which outputs the data in a Formatted List arrangement, which fits on the screen nicely.

Get-MailboxStatistics -Identity Administrator | fl


You can also limit this output to only display the data that you want to display.
The below example displays the display name, item count, total item size, and the last logon time.

Get-MailboxStatistics -Identity Administrator | fl DisplayName, ItemCount, TotalItemSize, LastLogonTime


For more information on the “Get-MailboxStatistics” command, issue the “help Get-MailboxStatistics” command from the PowerShell.

You Might Also Like