Quick Hint: SCOM – Managing Agent Proxy using PowerShell

Share this:
sans-titre_thumb2_thumb How can manage agent proxy in a SCOM agent using PowerShell?

PowerShell makes everything easier, right? Smile To list all agents using names with wildcards we can use the following cmdlet where in this post all my locations share the site code on their names:Get-SCOMAgent *POA* 

If the previous cmdlet brought the servers that you were expecting, then we can go ahead and enable the agent proxy for all those servers using the following cmdlet:

Get-SCOMAgent *POA* |  Enable-SCOmAgentProxy


If you want to disable based on the initial cmdlet, just run the following cmdlet:

Get-SCOMAgent *POA* |  Disable-SCOmAgentProxy


Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at MSExchange.org, ITPROCentral.com and AndersonPatricio.org (Portuguese).