Get Management Group of Server

Hansi 96 Reputation points
2022-06-27T05:15:48.993+00:00

Hello

I have a discovery-Powershell-Script.
But for it I have to read the Management Groups of Discovered Windows-Server.
If the the SCOM-Agent of Windows-Server is member of more than one Management Group I have to know it!

Is their a possibility to get the information?

215126-image.png

rg
Hansi

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,409 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hansi 96 Reputation points
    2022-06-27T11:51:52.217+00:00

    I have found the solution:

    it is easier then you think.

    You can find the information in Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Agent Management Groups

    1 person found this answer helpful.

  2. SChalakov 10,261 Reputation points MVP
    2022-06-29T10:15:07.74+00:00

    Hey,

    absolutely :)

    Get SCOM agents settings remotely using PowerShell
    https://www.powershellbros.com/get-scom-agents-settings-remotely-powershell/

    Regards,
    Stoyan

    0 comments No comments