Exchange Server 2010 includes numerous Exchange Management Shell commands that make administration easier. Here are 5 helpful Exchange powershell commands. These commands are to be used in the Exchange Management Shell.

Get top 30 mailboxes by size

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize -First 30


After adding new users run these commands to update the address lists:

Get-Globaladdresslist | update-Globaladdresslist

Get-Addresslist | Update-Addresslist


This example retrieves the mailbox statistics for a mailbox by using the alias AylaKol.

Get-MailboxStatistics -Identity AylaK


This example retrieves the mailbox statistics for all mailboxes on the server MailboxServer01.

Get-MailboxStatistics -Server MailboxServer01


To retrieve all Exchange-related events, run:

Get-EventLog Application | Where { $_.Source -Ilike “*Exchange*” }