Author Posts

October 13, 2017 at 12:46 pm

The cmdlet

Get-SCOMGatewayManagementServer -Name $FQDN | select *

returns output like

IsRootManagementServer                : False
IsGateway                             : True
AemEnabled                            : False
AutoApproveManuallyInstalledAgents    : True
RejectManuallyInstalledAgents         : False
MissingHeartbeatThreshold             : 2
ManagementGroup                       : OMxxxMG
Id                                    : 994a0088-4xxx-6cb5fcf33bf5
LastModified                          : 10/13/2017 7:00:33 AM
Name                                  : a-scom-02-vm54.xxx.com
DisplayName                           : a-scom-02-vm54.xxx.com
HostComputer                          : a-scom-02-vm54.xxx.com
HostedHealthService                   : a-scom-02-vm54.xxx.com
HealthState                           : Warning
PrincipalName                         : a-scom-02-vm54.xxx.com
NetworkName                           : a-scom-02-vm54.xxx.com
ComputerName                          : a-scom-02-vm54
Domain                                : sxxx
IPAddress                             : 10.11.10.254, fe80::1c82:1d9:96d1:b01c
Version                               : 7.1.10226.0
RequestCompression                    : True
CommunicationPort                     : 5723
MaximumSizeOfAllTransferredFilesBytes : 0
MaximumQueueSizeBytes                 : 104857600
ManuallyInstalled                     : False
InstallTime                           : 10/11/2017 1:44:42 PM
InstalledBy                           : 
CreateListener                        : True
AuthenticationName                    : a-scom-02-vm54.xxx.com
ActionAccountIdentity                 : SYSTEM
HeartbeatInterval                     : 45
ProxyingEnabled                       : False
ManagementGroupId                     : 00000000-0000-0000-0000-000000000000

where

Get-SCOMGatewayManagementServer -Name $FQDN  | Get-Member -Name ProxyingEnabled

shows that

   TypeName: Microsoft.EnterpriseManagement.Administration.ManagementServer

Name            MemberType Definition                                                                                          
----            ---------- ----------                                                                                          
ProxyingEnabled Property   Microsoft.EnterpriseManagement.Administration.SettablePropertyValue[bool] ProxyingEnabled {get;set;}

This 'ProxyingEnabled' property can be changed in the OPs Mgr Console. Is there anyway to change it via PS or any command line EXE?
More details here

October 13, 2017 at 3:24 pm

resolved:

$MS=Get-SCOMGatewayManagementServer -Name $FQDN 
$MS.ProxyingEnabled=$true
$MS.ApplyChanges()