A Microsoft Unified Communications resource blog

Recent Posts

Search by Topic

Email Notifications


My Microsoft KBs

.:. About me..

Microsoft Community

Andy's Toolbox



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 (Portuguese)
Twitter: @apatricio

Leave a Comment





If you can't read this number refresh your screen
Enter the numbers above: