Determining mailbox and folder sizes in Exchange 2007
Problem Description :
Often needed information is the mainbox and folder sizes for Exchange 2007. Command Line batch file mbx.bat will display these.
Resolution :
1. Open a CMD window
2. Enter command "mbx email@gdn.edu"
3. After last line displays you will be prompted to press ENTER key...press ENTER key :)
NOTE: Current, if incorrect email address is enter, the command will hang and "powershell" will need to be killed on Pegasus.
Sample
h:\>mbx commed06@gdn.edu
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
FolderPath FolderSize
---------- ----------
/ 0B
/Calendar 12477B
/Contacts 5063B
/Deleted Items 3931656B
/Drafts 25773B
/Inbox 21947B
/Inbox/Britt 879034B
/Journal 0B
/Junk E-mail 0B
/Notes 0B
/Outbox 0B
/RSS Feeds 0B
/RSS Feeds/Gordon Campus News 44379B
/RSS Feeds/Gordon College - Athletics 314175B
/RSS Feeds/Gordon College - Student ... 26714B
/RSS Feeds/Microsoft at Home.com 233736B
/RSS Feeds/Microsoft at Work.com 231465B
/Sent Items 344172B
/Sync Issues 0B
/Sync Issues/Conflicts 0B
/Sync Issues/Local Failures 0B
/Sync Issues/Server Failures 0B
/Tasks 3977B
DisplayName ItemCount StorageLimitStatus LastLogonTime
----------- --------- ------------------ -------------
User Comm Ed 06 588 BelowLimit 4/20/2011 11:21:18 AM
Press ENTER key to finish command...
powershell exited on pegasus with error code 0.
h:\>
Revision Date : 4/20/2011