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.
COMMENTS
If you have any questions or comments on this post, please feel free to leave us a message below using our comments system.
About The Author
Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure. He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems, Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.
Related
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.