PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Reset-ADServiceAccountPassword', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Resets the password for a standalone managed service account. Reset is not supported for group managed service accounts.


Reset-ADServiceAccountPassword [-Identity] <ADServiceAccount> [-AuthType {Negotiate | Basic}] [-Partition <String>] [-Confirm] [-WhatIf] [<CommonParameters>]

Search powershellhelp.space


The Reset-ADServiceAccountPassword cmdlet resets the password for the standalone managed service account (MSA) on the local computer. This cmdlet needs to be run on the
computer where the standalone MSA is installed.

The Identity parameter specifies the Active Directory standalone MSA that receives the password reset. You can identify a MSA by its distinguished name (DN), GUID, security
identifier (SID) or Security Accounts Manager (SAM) account name. You can also set the Identity parameter to a MSA object variable, such as $<localServiceAccountObject>, or
pass a MSA object through the pipeline to the Identity parameter. For example, you can use the Get-ADServiceAccount cmdlet to retrieve a standalone MSA object and then pass
the object through the pipeline to the Reset-ADServiceAccountPassword cmdlet.

Note: When you reset the password for a computer, you also reset all of the standalone MSA passwords for that computer.



Online Version: http://go.microsoft.com/fwlink/p/?linkid=291103




-------------------------- EXAMPLE 1 --------------------------

PS C:\>Reset-ADServiceAccountPassword -Identity ServiceAccount1

This command resets the password on the standalone managed service account ServiceAccount1.