Exchange 2007 Mailbox Statistics List

Hello,

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?
LVL 1
Methodman85Asked:
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.

MrN1c3Commented:
you can export to csv using the Get-Casmailbox comman, from the exchange powershell
0
Methodman85Author Commented:
can you give me the syntax for the Items I require?
0
MrN1c3Commented:
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
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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

http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/getting-mailbox-statistics-exchange-2007.html
0
cornetthdCommented:
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 $_.name; $MBXstat.totalItemsize.value.toMB()}},@{n="Items"; e = {$MBXstat = Get-MailboxStatistics $_.name
 ; $MBXstat.itemcount}}
0

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!
0
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
Exchange

From novice to tech pro — start learning today.