Change UPN (based on Primary Email) based on SMTP proxy address

During an Exchange migration, where the users have several domains spread among them, I needed to find a script that looks into the SMTP Proxyaddress of the user object, and changes the UPN for that user to match the ProxyAddress….
Read more