PS C:\> Uninstall-SCOMAgent -Agent $Agent Example 2: Uninstall an agent by using an object variable PS C:\>$Agent = Get-SCOMAgent -DNSHostName "" ![]() The second command uninstalls the agent named. The first command gets the Operations Manager agent object named and passes it to the Uninstall-SCOMAgent cmdlet by using the pipeline operator. Examples Example 1: Uninstall an agent PS C:\>Get-SCOMAgent -DNSHostName "" | Uninstall-SCOMAgent You can use the Remove-SCOMADAgentAssignment cmdet to remove AD DS agent assignments from the management group. The Uninstall-SCOMAgent cmdlet uninstalls agents from agent-managed computers.īefore you uninstall an agent, you must remove the Active Directory Domain Services (AD DS) agent assignments from the management group. ![]() ![]() In this article Syntax Uninstall-SCOMAgent Uninstalls agents from agent-managed computers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |