How to Use PowerShell to Fix Duplicate User Principal Name for On-Premises Active Directory Users

 

Good link, posting here to share and keep as reference.

https://social.technet.microsoft.com/wiki/contents/articles/16692.how-to-use-powershell-to-fix-duplicate-user-principal-name-for-on-premises-active-directory-users.aspx