Operations Manager – Enable agent proxy on all agents

scom 2012
()

If you are using System Center Operations Manager (SCOM) then you may want to enable agent proxy on all your agents. If you want to do this then you can use the power of Powershell to carry this out.

Just open up a Powershell command box and use the following command:

get-SCOMagent | where {$_.ProxyingEnabled -match "False"} | Enable-SCOMAgentProxy

If you want to ensure that any future machines have their agent proxy enabled, then you can run this Powershell command:

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

Now when any new machines are added into your environment, you will see that the proxy agent is already enabled on them.

COMMENTS

If you have any questions or feedback on this guide, please feel free to leave us a message below.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 21 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.