Set-ADServiceAccount
Set-ADServiceAccount Modifies an Active Directory service account. Syntax Copy Set-ADServiceAccount [-Identity] <ADServiceAccount> [-AccountExpirationDate <System.Nullable[System.DateTime]>] [-AccountNotDelegated <System.Nullable[bool]>] [-Add <hashtable>] [-Certificates <string[]>] [-Clear <string[]>] [-Description <string>] [-DisplayName <string>] [-Enabled <System.Nullable[bool]>] [-HomePage <string>] [-Remove <hashtable>] [-Replace <hashtable>] [-SamAccountName <string>] [-ServicePrincipalNames <hashtable>] [-TrustedForDelegation <System.Nullable[bool]>] [-AuthType {<Negotiate> | <Basic>}] [-Credential <PSCredential>] [-Partition <string>] [-PassThru <switch>] [-Server <string>] [-Confirm] [-WhatIf] [<CommonParameters>] · Identity · AccountExpirationDate · AccountNotDelegated · Add · Certificates · Clear · Description · DisplayName · Enabled · HomePage · Remove · Replace · SamAccountName · ServicePrincipalNames · TrustedForDelegation · AuthType · Credential · Partition · PassThru · Server · Confirm · WhatIf Copy […]
Read more