Exchange 2010 Useful Mailbox Commands

These exchange 2010 mailbox commands are primary for my records because I tend to forget things pretty fast, but I work with exchange a lot, and keeping these commands at hand is useful.

 

Get Mailbox Statistics about specific user and export those records to a text file.

Get-MailboxStatistics “nelson” | Format-List StorageLimitStatus,TotalItemSize,TotalDeletedItemSize,ItemCount,DeletedItemCount > c:nelsonmailboxstats.txt

 

Get mailbox size quota out of a specific user and export that info to a text file:

Get-Mailbox “nelson” | Format-List *Quota > c:nelsonquota.txt

 

get quota info of all users in a specific database in exchange and export that info to a text file:

Get-Mailbox -Database “Mailbox database” | Format-List DisplayName, *Quota > c:DBquotas.txt