Wednesday, May 27, 2015

Translate SCOM GUID to hostname

In SCOM RMS Event log, you may receive events that flag issues about a healthservice.
The challenge that SCOM Admins face is that these events merely provide the GUID.
In order for the remediation to be done, what is needed is the exact hostname of the server that is having the issues.

There are 2 ways that this information required can be retrieved.
You can choose either ways and you will still get the information

Powershell

(Get-MonitoringObject -id 'GUID').DisplayName
or
SQL
If you have access to the SQL Database, you can run the query as below

select DisplayName, Path, basemanagedentityid from basemanagedentity where basemanagedentityid = 'GUID'

No comments:

Post a Comment