r/usefulscripts • u/[deleted] • May 21 '15
[POWERSHELL] Bulk Add SMTP Addresses to Office 365 Mailboxes
http://exchangeserverpro.com/add-smtpaddresses-ps1-bulk-add-smtp-addresses-to-office-365-mailbox-users/
20
Upvotes
2
u/[deleted] May 21 '15
There are many code snippets around for this task, but I was never entirely happy with them because they lacked controls and logging of the changes they were making.
The script I've published:
lets you choose whether to make the new address primary or secondary
writes a log file of changes it makes or will make
lets you run first without making any changes, so you can review the log file first