Howtos / Articles

View Exchange Mailbox statistics from the PowerShell

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.



Share this howto article!
  • Facebook
  • Twitter
  • Reddit
  • email

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>