CmdID / PowerShell / Cmdlets / New
New-ADUser
Creates an Active Directory user. Windows Server PowerShell reference
From the Windows Server PowerShell reference 63 parameters Its page in the reference
Parameters
Show its 63 parameters
-AccountExpirationDateSpecifies the expiration date for an account.-AccountNotDelegatedIndicates whether the security context of the user is delegated to a service.-AccountPasswordSpecifies a new password value for an account.-AllowReversiblePasswordEncryptionIndicates whether reversible password encryption is allowed for the account.-AuthenticationPolicySpecifies an Active Directory Domain Services authentication policy object.-AuthenticationPolicySiloSpecifies an Active Directory Domain Services authentication policy silo object.-AuthTypeSpecifies the authentication method to use.-CannotChangePasswordIndicates whether the account password can be changed.-CertificatesSpecifies the DER-encoded X.509v3 certificates of the account.-ChangePasswordAtLogonIndicates whether a password must be changed during the next logon attempt.-CitySpecifies the user's town or city.-CompanySpecifies the user's company.-CompoundIdentitySupportedSpecifies whether an account supports Kerberos service tickets which includes the authorization data for the user's device.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CountrySpecifies the country or region code for the user's language of choice.-CredentialSpecifies the user account credentials to use to perform this task.-DepartmentSpecifies the user's department.-DescriptionSpecifies a description of the object.-DisplayNameSpecifies the display name of the object.-DivisionSpecifies the user's division.-EmailAddressSpecifies the user's e-mail address.-EmployeeIDSpecifies the user's employee ID.-EmployeeNumberSpecifies the user's employee number.-EnabledSpecifies if an account is enabled.-FaxSpecifies the user's fax phone number.-GivenNameSpecifies the user's given name.-HomeDirectorySpecifies a user's home directory.-HomeDriveSpecifies a drive that is associated with the UNC path defined by the HomeDirectory property.-HomePageSpecifies the URL of the home page of the object.-HomePhoneSpecifies the user's home telephone number.-InitialsSpecifies the initials that represent part of a user's name.-InstanceSpecifies an instance of a user object to use as a template for a new user object.-KerberosEncryptionTypeSpecifies whether an account supports Kerberos encryption types which are used during creation of service tickets.-LogonWorkstationsSpecifies the computers that the user can access.-ManagerSpecifies the user's manager.-MobilePhoneSpecifies the user's mobile phone number.-NameSpecifies the name of the object.-OfficeSpecifies the location of the user's office or place of business.-OfficePhoneSpecifies the user's office telephone number.-OrganizationSpecifies the user's organization.-OtherAttributesSpecifies object attribute values for attributes that are not represented by cmdlet parameters.-OtherNameSpecifies a name in addition to a user's given name and surname, such as the user's middle name.-PassThruReturns an object representing the item with which you are working.-PasswordNeverExpiresSpecifies whether the password of an account can expire.-PasswordNotRequiredSpecifies whether the account requires a password.-PathSpecifies the X.500 path of the OU or container where the new object is created.-POBoxSpecifies the user's post office box number.-PostalCodeSpecifies the user's postal code or zip code.-PrincipalsAllowedToDelegateToAccountSpecifies an array of principal objects.-ProfilePathSpecifies a path to the user's profile.-SamAccountNameSpecifies the Security Account Manager (SAM) account name of the user, group, computer, or service account.-ScriptPathSpecifies a path to the user's log on script.-ServerSpecifies the AD DS instance to connect to, by providing one of the following values for a corresponding domain name or directory server.-ServicePrincipalNamesSpecifies the service principal names for the account.-SmartcardLogonRequiredSpecifies whether a smart card is required to logon.-StateSpecifies the user's or Organizational Unit's state or province.-StreetAddressSpecifies the user's street address.-SurnameSpecifies the user's last name or surname.-TitleSpecifies the user's title.-TrustedForDelegationIndicates whether an account is trusted for Kerberos delegation.-TypeSpecifies the type of object to create.-UserPrincipalNameSpecifies a user principal name (UPN) in the format @.-WhatIf, -wiShows what would happen if the cmdlet runs.