Step by Step SCOM agent multihoming
You can create script based rule as below select Timed commands and click on execute a script and save in management pack
2. Give the rule name and select the target.
3. select the execute time as per your requirement.I have selected default and click next
4 Give the file name (ex multihoming.vbe) and paste the below script with update of you management group and management server and click create.
Set objMSConfig = CreateObject(“AgentConfigManager.MgmtSvcCfg”)
Call objMSConfig.AddManagementGroup (“Your Management group name”, “Management server name”,5723)
5. It done now. Now you can login to any agent machine and check the new management group entry.
Now you can to pending management and approve the agent.