This topic explains how to use the Active Directory module for Windows PowerShell to install a managed service account.
Example
The following example demonstrates how to install the managed service account SQL-SRV1. You must run the command on the local computer:
Install-ADServiceAccount -Identity SQL-SRV1
Additional information
For a full explanation of the parameters that you can pass to Install-ADServiceAccount, at the Active Directory module command prompt, type Get-Help Install-ADServiceAccount –detailed, and then press ENTER.