If you need to export your Exchange mailbox address details to CSV then you can run the following EMS PowerShell command to export the name, primary SMTP email address and the mailbox database where the mailbox is allocated.
Get-Recipient -Resultsize unlimited | select name, primarysmtpaddress, Database | export-csv C:tempaddresses.csv
You can change the file location to wherever you want to save the CSV file to.
If you have any questions or comments on this post, please feel free to leave us a message below using our comments system.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?