Monthly Archives: August 2015

Just a little script I put together during the week to update primary email address on a user account that is been synced over to Office 365 (O365) from Active Directory (AD).  It’s not in any way a perfect script but gets the work done. Download script here

Syntax:

.\UpdatePE.ps1 -NewDomain azure.hazelnest.com -Address hhazeley@o365.hazelnest.com -KeepCurrentPrimary
.\UpdatePE.ps1 -NewDomain azure.hazelnest.com -KeepCurrentPrimary
.\UpdatePE.ps1 -NewDomain azure.hazelnest.com 
.\UpdatePE.ps1 -NewDomain azure.hazelnest.com -Address hhazeley@o365.hazelnest.com

Breakdown of script below Continue reading