Run this on any server that has the SCOM Console installed.
add-pssnapin "Microsoft.EnterpriseManagement.OperationsManager.Client"; new-managementGroupConnection -ConnectionString:scomserver.domain.com; set-location "OperationsManagerMonitoring::"; Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True
Totally stole this from the SCOM aficionado – Kevin Holman. His post is here
Cheers’
Dan