Monday, September 17, 2012

View Mailbox Sizes for Exchange 2003 and Exchange 2010 through Powershell

If you need to view mailbox sizes for users in your Exchange organisation, you can do this from an Exchange Management Shell (EMS) for both Exchange 2003 and Exchange 2007/2010.

For your Exchange 2007/2010 users use the following command from EMS:

get-mailboxstatistics | fl displayname,totalitemsize

For your Exchange 2003 users use the following command from EMS:

Get-Wmiobject -namespace root\MicrosoftExchangeV2 -class exchange_mailbox -computer Ex2003ServerName | sort -desc size | select storageGroupName,StoreName,MailboxDisplayName,Size,TotalItems

3 comments:

  1. Good one Clint, I have seen lots of people asking for this script.

    ReplyDelete
  2. Very helpful article, thanks for sharing this procedures to generate exchange mailbox size report from exchange server, I tried exchange server reporter tool ( http://www.lepide.com/exchange-reporter/general-reports.html ) which generates detailed reports including SamAccountName, DisplayName, folder size, TotalItemSize. based on these csv files and provide facilitate to filter the reports up to the granular level and track mailbox traffic and mailbox content.

    ReplyDelete