2020年7月6日 星期一

Enable Proxy Option for Operations Manager Agents?


TO enable the proxy in the GUI go to Administration > Device Management > Agent 
Managed > Right Click the Server you wish to act as a proxy and click Properties > Security Tab > Check Allow this agent to act as a proxy and discover managed objects on other computers


To enable an agent proxy for all agents that are currently disabled the run:

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

To enable proxy agent for all future agents the run the following in PowerShell ISE:

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

沒有留言:

張貼留言