https://blog.it-kb.ru/2012/05/22/scom-2012-auto-enable-agent-proxy-via-powershell/
SCOM 2012 - Автоматизируем включение Agent Proxy