Updating AD Usernames to FirstName.LastName format
Here’s a quick script for updating usernames from whatever format they’re in at the moment to a firstname.lastname format, based on their current attribute in Active Directory.The script can be used a few different ways – but at it's simplest, like this:.\Update-Username.ps1 -Use
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.