Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Windows Server 2008 R2
This topic explains how to use the Active Directory module for Windows PowerShell to remove a managed service account from a computer.
Example
The following example demonstrates how to remove the managed service account EXCH-SRV1 from the computer Fabrikam-SRV1. You must run the command on the local computer:
Remove-ADComputerServiceAccount -Identity Fabrikam-SRV1 -ServiceAccount EXCH-SRV1
Additional information
For a full explanation of the parameters that you can pass to Remove-ADComputerServiceAccount, at the Active Directory module command prompt, type Get-Help Remove-ADComputerServiceAccount –detailed, and then press ENTER.