Exchange 2010 Shell Command to Find SMTP Addresses and mailbox Size
Posted on 2013-11-12
We have Exchange 2010. I need to have a CSV file from Exchange with the following:
1. All mailboxes in Specific Mailbox Database lets call it MailboxDB01
3. List it by Email Address
4. List mailbox Size
Now I have the script below which does the job but only grabs me the display name it doesnt show the EMail address.
Get-MailboxDatabase "mailboxdb01" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, EmailAddresses, totalitemsize, itemcount | Out-File c:\myscripts\emailaddresses1.txt