Link to home
Start Free TrialLog in
Avatar of GCTTechs
GCTTechsFlag for United States of America

asked on

Exchange 2010 CMDLETS help - Get-MailboxStatistics

I'm having some trouble exporting mailbox data from Exchange 2010. I am running the Get-MailboxStatistics cmdlet and need the following fields to be exported.

DisplayName, Title, Department, Office, Enabled, Expires, LastMailboxLogon, MailboxSizeMB, Type, ServerName, Database, ItemCount, PrimarysmtpAddress

I am running the following but its not working; can anyone help please?

Get-MailboxStatistics -Database ALL | Select DisplayName, Title, Department, Office, Enabled, Expires, LastMailboxLogon, MailboxSizeMB, Type, ServerName, Database, ItemCount, PrimarysmtpAddress | Sort-Object MailboxSizeMB -Descending | Export-CSV C:\MailboxStats\ALL_MBSizes.csv

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Amit
Amit
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial