An administrator can test an MSA to ensure that it can
access the domain with its current credentials, or can be installed on a member
computer by using the Test-ADServiceAccount cmdlet.
The Test-ADServiceAccount cmdlet tests a managed service account (MSA) from a local computer.