Just a quick note on how to enable agent proxy via PowerShell
Assumptions in this scenario:
- SCOM 2012 R2 – UR3
- Using Operations Manager Shell
- You want all Agents with proxy enabled
Some basics:
Get-SCOMAgent
Let’s limit our scope..
Get-SCOMAgent | where {$_.ProxyingEnabled -match $False}
Let’s enable the proxy for all listed agents
Get-SCOMAgent | where {$_.ProxyingEnabled -match $False} | Enable-SCOMAgentProxy
Check the Agents again..
Get-SCOMAgent | where {$_.ProxyingEnabled -match $False}
Done..
Kevin Holman (a good resource for SCOM stuff) also talks about this here on his TechNet blog.
Cheers’
Dan