PowerShell Power Shell Scripts. If you have been looking for a way to create users based on their Email Address (For Uniqueness) and are using UPN and Local Domains, Here it is. Hope it Helps..