Get Management Group of Server

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

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,200 questions
No comments
{count} votes

2 answers

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

    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


  2. answered 2022-06-29T10:15:07.74+00:00
    Anonymous

    Hey,

    absolutely :)

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

    Regards,
    Stoyan

    No comments