Enabling Proxy on SCOM 2012 Agents by default

2017-12-04T15:12:02+00:00 February 26th, 2014|Cloud, Windows|

Here’s a handy command you can run on your SCOM management server , so that all new agents are automatically enabled to proxy by default , instead of you having to manually enable proxy on all agents or running a scheduled task to enable proxy on all agents.

Run the below on the SCOM server in PowerShell J (Be sure to change the server name in red to your SCOM server)

“Add-pssnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”; new-managementGroupConnection -ConnectionString:scomserver.domain.com; set-location “OperationsManagerMonitoring::”; Set-DefaultSetting -Name HealthServiceProxyingEnabled -Value True”