Assign a new UPN Domain to all users

This is just a simple script that will allow you to assign a specific UPN domain to all users in AD. Nothing really special. The script will take in a user defined domain name and generate UPNs based on the SAMACCOUNTNAME. It will then assign the generated UPN to the user accou

assign-upn.ps1
 
 
 
 
 
(0)
114 times
Add to favorites
Active Directory
10/23/2019
E-mail Twitter del.icio.us Digg Facebook
Verified on the following platforms
Windows 10 No
Windows Server 2012 Yes
Windows Server 2012 R2 Yes
Windows Server 2008 R2 Yes
Windows Server 2008 No
Windows Server 2003 No
Windows Server 2016 Yes
Windows 8 No
Windows 7 No
Windows Vista No
Windows XP No
Windows 2000 No
This script is tested on these platforms by the author. It is likely to work on other platforms as well. If you try it and find that it works on another platform, please add a note to the script discussion to let others know.