CmdID

CmdID / PowerShell / Cmdlets / Set

Set-ADUser

Modifies an Active Directory user. Windows Server PowerShell reference

From the Windows Server PowerShell reference 64 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

64 in the Windows Server PowerShell reference
Show its 64 parameters
-AccountExpirationDateSpecifies the expiration date for an account.
-AccountNotDelegatedIndicates whether the security context of the user is delegated to a service.
-AddSpecifies values to add to an object property.
-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 an array of certificates.
-ChangePasswordAtLogonIndicates whether a password must be changed during the next logon attempt.
-CitySpecifies the user's town or city.
-ClearSpecifies an array of object properties that are cleared in the directory.
-CompanySpecifies the user's company.
-CompoundIdentitySupportedIndicates 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.
-EnabledIndicates whether 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.
-IdentitySpecifies an Active Directory user object by providing one of the following property values.
-InitialsSpecifies the initials that represent part of a user's name.
-InstanceSpecifies an ADUser object that identifies the Active Directory user object that should be modified and the set of changes that should be made to that 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.
-OfficeSpecifies the location of the user's office or place of business.
-OfficePhoneSpecifies the user's office telephone number.
-OrganizationSpecifies the user's organization.
-OtherNameSpecifies a name in addition to a user's given name and surname, such as the user's middle name.
-PartitionSpecifies the distinguished name of an Active Directory partition.
-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.
-POBoxSpecifies the user's post office box number.
-PostalCodeSpecifies the postal code or zip code.
-PrincipalsAllowedToDelegateToAccountSpecifies an array of principal objects.
-ProfilePathSpecifies a path to the user's profile.
-RemoveSpecifies that the cmdlet remove values of an object property.
-ReplaceSpecifies values for an object property that will replace the current values.
-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.
-SmartcardLogonRequiredIndicates whether a smart card is required to logon.
-StateSpecifies the user's state or province.
-StreetAddressSpecifies the user's street address.
-SurnameSpecifies the user's last name or surname.
-TitleSpecifies the user's title.
-TrustedForDelegationSpecifies whether an account is trusted for Kerberos delegation.
-UserPrincipalNameSpecifies a user principal name (UPN) in the format @.
-WhatIf, -wiShows what would happen if the cmdlet runs.