Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Associating a Managed Service Account with a Computer

Updated: February 28, 2009

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to associate a managed service account with a computer. This action associates the managed service account with the computer that hosts the application or service that the computer uses.

The following example demonstrates how to associate the managed service account IIS-SRV1 with the computer FABRIKAM-SRV1 in the Fabrikam.com domain:

Add-ADComputerServiceAccount -Identity Fabrikam-SRV1 -ServiceAccount IIS-SRV1

For a full explanation of the parameters that you can pass to Add-ADComputerServiceAccount, at the Active Directory module command prompt, type Get-Help Add-ADComputerServiceAccount –detailed, and then press ENTER.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft