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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
rg
Hansi
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
Hey,
absolutely :)
Get SCOM agents settings remotely using PowerShell
https://www.powershellbros.com/get-scom-agents-settings-remotely-powershell/
Regards,
Stoyan