« SCOM 2012 Web Console HttpWebRequest_WebException_RemoteServerNew KB: How to add a product key to an eval version of System Center 2012 Operations Manager »

10 comments

  1. § Roman   said on :

    You may also use the following powershell solution to deal with obsolete management groups:

    $OMCfg = New-Object -ComObject AgentConfigManager.MgmtSvcCfg
    $OMCfg.RemoveManagementGroup("ManagementGroupToRemove")

  2. § ®   said on :

    Thanks Roman!

  3. § Adam Hayes   said on :
    3 stars

    Bob and Roman:
    Thanks for the scripts. Is there a way to run this remotely against a list of servers or do I have to run this on each individual server?

  4. § Arturo Mattila said on :

    Having read this I thought it was extremely informative. I appreciate you finding the time and energy to put this informative article together. I once again find myself spending a lot of time both reading and commenting. But so what, it was still worthwhile!

  5. § Josh Cook   said on :
    4 stars

    Awesome! I looked over what you’ve got and created a simple powershell script for dealing with it remotely. :D

    http://gallery.technet.microsoft.com/Remove-Management-Groups-70347288

  6. § ®   said on :
    5 stars

    Thats good news Josh!

  7. § ZA said on :

    can’t seem to get this to work even after registering AgentConfigManager.dll

    I get the message below:
    —————————
    Windows Script Host
    —————————
    Script: C:\Scripts\SCOM.vbs
    Line: 10
    Char: 1
    Error: The system cannot find the path specified.
    Code: 80070003
    Source: (null)

  8. § ®   said on :

    Thats strange, as there are only a few lines in the script. Are you running it on a machine with a scom 2012 agent on it with multiple mgmt groups configured and running it from and running it from the cscript from an elevated command prompt?

  9. § Thys   said on :
    4 stars

    Hi Bob,

    What, if any, will the process perhaps be for multi home of an AIX computer. Stupid question, but not something I needed to do until now.

  10. § ®   said on :
    5 stars

    @Thys Hello Thys, Well the thing with cross plat agents is that they dont know and care about where they report to. Actually it is the management server requesting data from the agent in that case. SO you can have multiple management servers from multiple management groups requesting data from that agent if you want. Only thing to keep in mind is that there is a certificate created by the agent and cross-signed by the management server. SO what you can do is export the cross signed cert from the management server already talking to that agent and import that certificate into the other management server you want to have talk to this agent, so it trusts it. And after that run discovery.
    On the first MS run the command:
    scxcertconfig.exe -export xplat.cert
    and transfer that file to the other management server and run:
    scxcertconfig.exe -import xplat.cert
    And after that run discovery for the machine. Thats the whole trick.

Leave a comment

You must be a member of this blog to comment. Log in now!

Contact / Help. ©2017 by Bob Cornelissen. blog software.
Design & icons by N.Design Studio. Skin by Tender Feelings / Evo Factory.