Export to CSV a list of all Mailboxes with Primary Address’s and Aliases in a Multi Tenanted Exchange Setup

 

I have recently had a need to list users for a particular customer in a multi-tenanted Exchange along with their primary SMTP address’s and also their aliases – This script is similar to what I have done before  however, it filters by ‘CustomAttribute1’ which is what we use to define a customer so keeps the list specific. The list exports as a CSV File To   c:\temp\mailbox_alias.csv


Leave a Reply

Your email address will not be published. Required fields are marked *