CmdID / PowerShell / Cmdlets / Set
Set-ADServiceAccount
Modifies an Active Directory managed service account or group managed service account object. Windows Server PowerShell reference
From the Windows Server PowerShell reference 30 parameters Its page in the reference
Parameters
Show its 30 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.-AuthenticationPolicySpecifies an Active Directory Domain Services (AD DS) authentication policy object.-AuthenticationPolicySiloSpecifies an AD DS authentication policy silo object.-AuthTypeSpecifies the authentication method to use.-CertificatesSpecifies an array of certificates.-ClearSpecifies an array of object properties that are cleared in the directory.-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.-CredentialSpecifies the user account credentials to use to perform this task.-DescriptionSpecifies a description of the object.-DisplayNameSpecifies the display name of the object.-DNSHostNameSpecifies the DNS host name.-EnabledSpecifies if an account is enabled.-HomePageSpecifies the URL of the home page of the object.-IdentitySpecifies an Active Directory account object by providing one of the following property values.-InstanceSpecifies a modified copy of a service account object to use to update the actual Active Directory service account object.-KerberosEncryptionTypeSpecifies whether an account supports Kerberos encryption types that are used when creating service tickets.-PartitionSpecifies the distinguished name of an Active Directory partition.-PassThruReturns an object representing the item with which you are working.-PrincipalsAllowedToDelegateToAccountSpecifies the accounts which can act on the behalf of users to services running as this Managed Service Account or Group Managed Service Account.-PrincipalsAllowedToRetrieveManagedPasswordSpecifies the membership policy for systems which can use a group managed service account.-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.-ServerSpecifies the Active Directory Domain Services 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.-TrustedForDelegationIndicates whether an account is trusted for Kerberos delegation.-WhatIf, -wiShows what would happen if the cmdlet runs.