Setting Agent Proxy as enabled in SCOM 2016

I’m looking for a way to automatically enable agent proxy for all agents. Does anyone have any experience of this?

2 Likes

Have you tried the powershell command “enable-scomagentproxy”?

https://blogs.technet.microsoft.com/kevinholman/2014/02/11/opsmgr-2012-enable-agent-proxy-on-all-agents/

2 Likes

Add-PSSnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”

New-ManagementGroupConnection -ConnectionString:localhost

Set-Location “OperationsManagerMonitoring::”

Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True

This will FOREVER enable your newly installed agent with Proxy setting enabled.

2 Likes

Add-PSSnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”

New-ManagementGroupConnection -ConnectionString:localhost

Set-Location “OperationsManagerMonitoring::”

Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True

This will FOREVER enable your newly installed agent with Proxy setting enabled.

2 Likes

Add-PSSnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”

New-ManagementGroupConnection -ConnectionString:localhost

Set-Location “OperationsManagerMonitoring::”

Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True

This will FOREVER enable your newly installed agent with Proxy setting enabled.

2 Likes

Hi

Kevin Holmans way is easy. Set it once and your done!

https://blogs.technet.microsoft.com/kevinholman/2017/04/10/enable-proxy-as-a-default-setting-in-scom-2016/

3 Likes

Thank you very much, this is really helpful!

1 Like

Thank you very much, this is really helpful!

ENableProxyViaPS.png

1 Like