2

I would like to write a management pack that will allow me to retrieve the ScomID of a SCOM group or server object. Therefore, script needs to execute on the SCOM Management server (rather than the client) and the object name to be passed to whatever function/script necessary to query SCOM. Where would you start with something like this?

Functions for retrieving ScomID

Andre Schoeman selected answer