Script for showing users mailbox size
I hope this is the correct place to ask this. I'm looking for a script that can be run against each of our mailbox stores on our Exchange 2003 serverand list all mailboxes that are 1GB or larger in each store (sorted from largest to the smallest if possible). I would like the output of the script to sent to a csv file. Can someone point me in the right direction? I don't do scripting so I'm not sure where I need to start. Thanks for the help. Eric
May 25th, 2007 10:56pm

I think I may have found out how to do this using PowerShell. Below is what I have come up with. If anyone has any better ideas on how to do this please let me know. Code Snippetget-wmiobject -class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerNameExchangeServerName | select-object MailboxDisplayName,Size,TotalItems,StoreName | where {$_.Size -ge 1000000 -and $_.StoreName -eq "StoreName"} | sort-object -property Size -descending > StoreName.txt Thanks Eric
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2007 8:11am

See http://gsexdev.blogspot.com/2005/03/relating-mailbox-sizes-to-mailbox.html Regards, Victor Ivanidze
May 30th, 2007 10:47am

Try the following link. This is a good tool to get the mailbox sizes for all your users. It won't specifically filter out the 1GB or higher mailboxes, but you can export the results to a CSV and then manipulate the data from there. http://gsexdev.blogspot.com/2008/05/version-5-of-mailbox-size-gui-script.html Brian Kirby
Free Windows Admin Tool Kit Click here and download it now
August 10th, 2009 4:22pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics