GCTTechs
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_MBSize s.csv
Thanks,
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_MBSize
Thanks,
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.