Here’s a quick script to help enable Agent Proxy for all Agent Managed Machines.
- Copy the code below and save as EnableAgentProxy.ps1
- Open the Operations Manager Shell
- Drag and drop the Powershell script from the folder you saved it in onto the OpsMgr Shell
- Press Enter to run the script
- Ensure all Agent Managed computers have Agent Proxy enabled
Get-SCOMAgent | where {$_.ProxyingEnabled.Value -eq $False} | Enable-SCOMAgentProxy