New-ADUser
CautionCreate AD user
New-ADUser -Name <name> -Enabled $true
Creates a new Active Directory user account.
Examples
New-ADUser -Name 'Taro Yamada' -SamAccountName tyamada -Enabled $trueCreate an account
Syntax
New-ADUser -Name <name> -SamAccountName <id> -Enabled $true
Before you run it
Creates an account in live AD.
Related commands
- Set-ADUserModify AD users
- Set-ADAccountPasswordReset password / unlock
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store