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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store