What I'm hoping to do is use a powershell script that will take every user in the Active Directory and change their email address to [alias]@domain.com.
There isn't a common pattern in this company, and in a recent move to Office 365, the now mail enabled users have the wrong address associated to their account. They do however still have the correct alias that matches what their email address should be (minus the domain of course on the alias). I'm hoping I can get help writing a powershell script that will pull the alias and then write that value with @domain.com tacked on into their email address field.