Get Exchange 2010 Mailbox size (Powershell)

*** THIS SCRIPT IS PROVIDED WITHOUT WARRANTY, USE AT YOUR OWN RISK ***

This script will query all mailboxes on the server name you supply. It returns the Display Name, Total Mailbox size in MBs, Item count (number of messages in the mailbox) and the Storage Limit Status (has the user met the limit or not) sorted by the mailbox size. The script writes all this info to the mailbox_size.csv in the directory you input.

This script has to be run from the Exchange Management Shell.

Tested on Windows Server 2K8 running Exchange 2010 SP2.

 

Leave a Reply