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

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).