Methode GetFailoverManagementServers() is very slow? Here’s a faster methode to collect failover configuration from scom agents

In some cases, it is necessary to review the Primary and Failover Management Server configuration of your window SCOM agents. Most customer are using PowerShell to receive those information for Example: $agent = get-scomagent -Name “name.of.my.agent” $agent.PrimaryManagmentServer $agent.GetFailoverManagementServers() Depends on the size of your environment calling the method GetFailoverManagementServers() might take several seconds per agent….

1