Converting a HealthService GUID ID to a Hostname

In the RMS Operations Manager event log you can receive events that complain about a HealthService. The problem is those events only show the ID (GUID). So how can we find out what hostname this GUID is really referring to?

We can use Windows PowerShell:

get-agent | where {$_.hostedHealthService.id -eq “guid“} | select-object name

Replace “guid” with the health service guid you want to identify

Advertisements
This entry was posted in Powershell for SCOM and tagged , , , , . Bookmark the permalink.

One Response to Converting a HealthService GUID ID to a Hostname

  1. Steve says:

    Thanks! This helped point me in the right direction. On SCOM 2012 R2 you have to use this version of the command.

    get-SCOMagent | where {$_.hostedHealthService.id -eq “guid“} | select-object name

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s