Turn off Agent Proxying in SCOM 2016

A while back I wrote a post about turning on agent proxying… you can find that here, but if you need to turn off Agent Proxying you can use the following Windows PowerShell:

$Agents = get-agent | where {$_.ProxyingEnabled -match “True”}
$Agents | foreach {$_.ProxyingEnabled=$false}
$Agents | foreach {$_.ApplyChanges()}

This turns it off for all Windows Agents.

In SCOM 2016 it’s slightly different but the same as you would do for SCOM 2012, again I’d use Windows PowerShell:

Get-SCOMAgent | where {$_.ProxyingEnabled.Value -eq $True} | Disable-SCOMAgentProxy -Confirm

 
Comments

No comments yet.

Leave a Reply