Exchange 2007 Mailbox Statistics List


I need a way to export user mailbox information. I can create a filter within EMC, and then export that list, but it doesn't provide me with a Mailbox Size Column. How can I get a list of Display Name, Primary SMTP Address, and Mailbox Size?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you can export to csv using the Get-Casmailbox comman, from the exchange powershell
Methodman85Author Commented:
can you give me the syntax for the Items I require?
This command will give you everything except smtp address;

Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,TotalItemSize,ItemCount

also check

Get-Casmailbox | Export-Csv c:\mailbox.csv
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
Here is the syntax for a few of the items...

get-mailboxstatistics | ft Displayname

Get-MailboxDatabase "Mailbox Database 02" | Get-MailboxStatistics | Select DisplayName, TotalItemSize | Export-CSV C:\output.csv
Try this.

[PS] C:\Documents and Settings\dcornett\Desktop> Get-Mailbox -server servername | Select-Object name,primarysmtpaddress, DisplayName,Database,@{n="Siz
e(MB)";e = {$MBXstat = Get-MailboxStatistics $; $MBXstat.totalItemsize.value.toMB()}},@{n="Items"; e = {$MBXstat = Get-MailboxStatistics $
 ; $MBXstat.itemcount}}

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Methodman85Author Commented:
Thanks Everyone!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.