Quick Hint: SCOM – Managing Agent Proxy using PowerShell

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

Anderson Patricio
http://www.andersonpatricio.org (Portuguese)
Twitter: @apatricio

Leave a Reply

Your email address will not be published. Required fields are marked *