Summary: Use the Active Directory module to create a user with Windows PowerShell.
How can I create a user in Active Directory with PowerShell?
In Windows Server 2012 R2 or Windows Server 2008 R2, use the New-ADUser cmdlet.To create a new user named “Doctor Scripto” in Active Directory:
NEW-ADUSER doctor.scripto –Givenname Doctor –Surname Scripto

0 comments