Translate GUID

Sometimes SCOM alerts will spew out a GUID and you will want to translate this into a legible name. This can easily be achieved using the short powershell script shown below which allows you to paste the GUID directly into the OpsMgr shell.

NOTE:-Script must be run in the Operations Manager Shell

*Copy and paste the following into notepad and save as GUID.ps1 (or any name of your choice)

#Takes GUID from SCOM and tranlates to its display name.
#Run from OpsMgr Shell

$gUIDtrans = Read-Host “Enter the GUID you would Like Translated: ”

Get-SCOMClassInstance -id: $gUIDtrans | ft DisplayName






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

Leave a Reply

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

You are commenting using your 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