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.
Gear We Recommend
A few general tech accessories worth having alongside this.
Browse our General Tech Accessories picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.