Turn off Agent Proxying (SCOM 2007 and SCOM 2012)

A while back I wrote a post about turning on agent proxying… you can find that here, but today I needed to turn OFF agent proxying in an old SCOM 2007 environment… so here’s how I did it.

I used Windows PowerShell:

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

This turns it off.

 

In SCOM 2012 it’s slightly different, again I’d use Windows PowerShell:

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

 

 
Comments

No comments yet.

Leave a Reply