A+ A A-

Getting Mailbox size of users in Microsoft Exchange 2010 PowerShell

The following article explains how we can get mail box size of particular user or all users from Microsoft Exchange Server 2010 using PowerShell commands. In previous versions of Exchange, we could view the mail box size from the Exchange console. Microsoft has added a new, powerful command line shell called PowerShell which was developed for System administrators to easily configure and maintain Windows.

 

The following command lines can be used to retrieve user mailbox size so that administrators can monitor the size of the mailbox.

To get specific user's mailbox size: 'Get-MailboxStatistics -Identity "domain\username"

Windows PowerShell Commands- Get-MailboxStatistics

 

To format the result of the previous command by using Display name, Total Size, Total Item Count, Storage Limist Status use the command: 'Get-MailboxStatistics -Identity "domain\username" |ft DisplayName, TotaltemSize, ItemCount, StorageLimitStatus'

 

To Get details of the Database in your Exchange Server: 'Get-MailboxStatisticsDatabse'

Windows PowerShell Commands- Get-MailboxStatistics

 

To Get mailbox size of all users in a database:

'Get-MailboxStatistics -Database "databasename"'

Windows PowerShell Commands- Get-MailboxStatistics

 

Format the result:

'Get-MailboxStatistics -Database "databasename" |ft DisplayName, TotaltemSize, StorageLimitStatus'

Windows PowerShell Commands- Get-MailboxStatistics

 

There are so much more we can do with PowerShell! To get help on any commands in PowerShell, simply type 'Get-Help <cmdlet name>'

For e.g. 'Get-Help Get -MailboxStatistics'

 

Got a question or suggestion? Post it in the comments or email me at This email address is being protected from spambots. You need JavaScript enabled to view it.   {jcomments on}

Last modified onThursday, 18 August 2011 19:44
Rate this item
(3 votes)

Comments   

 
# Moazzam 2011-08-18 12:24
in all commands please update command with TotlaItemSize to TotalItemSize

Thanks.
 
 
# aneesh 2011-08-18 19:44
Quoting Moazzam:
in all commands please update command with TotlaItemSize to TotalItemSize

Thanks.

Hi Moazzam,

Thank you very much for highlighting that typo. I've corrected it.

Hope you found it useful.
Cheers!
-aneesh
 
back to top

Subscribe

Subscribe and get latest news and updates from sarayoo.info via email!


Receive HTML?

Show Your Appreciation

Like my Blog? Would you like to buy me a Coffee?

Amount: 

  1. TWEETS
  2. ARCHIVE
  3. TAGS

Popular Posts