How to find the SCOM ID of an object or group
You can find the SCOM ID of any object or group in SCOM by browsing to the object in Squared Up and observing the URL.
How to find a SCOM ID using Squared Up
Type the group or object name in the quick find box at the top of Squared Up, and select the matching result to navigate to the page.
Copy the SCOM ID from the page URL. The URL contains the SCOM ID as
id=<SCOM ID>, for example:
So for the URL above the SCOM ID of the Group is bcb643d0-62c8-7555-ffe0-36c1a86101a4
Other ways to find SCOM IDs
Using SCOM Powershell:
Get-SCOMGroup | select displayName,Id
This will list all the SCOM groups by displayname and show their SCOM IDs.
Get-SCOMMonitoringObject -DisplayName "Hong Kong" | select id
This will show the SCOM ID of the object called ‘Hong Kong’. This can be used for any object (or group).
Query the SCOM Data Warehouse directly.
SCOM object details are available in the vManagedEntity view, so a simple query like the following will extract all the server IDs (we’re using FullName to filter to all Microsoft.Windows.Computer instances):
SELECT [ManagedEntityGuid] as ScomId ,[Path] as ScomPath ,[DisplayName] as ScomName FROM [OperationsManagerDW].[dbo].[vManagedEntity] WHERE [FullName] LIKE 'Microsoft.Windows.Computer:%'
The SCOM IDs of objects can be found in a number of different ways. Tao Yang recently blogged about this, so his blog is a great starting point (thanks Tao!):