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 Dashboard Server and observing the URL.
How to find a SCOM ID using Dashboard Server
- Type the group or object name in the quick find box at the top of Dashboard Server, 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:
- Open a SCOM PowerShell window (Start Menu > Microsoft System Center > Operation Manager Shell)
- Copy and paste the following line of PowerShell:
Get-SCOMGroup | select displayName,Id
The PowerShell above will list all the SCOM groups by displayname and show their SCOM IDs.
The PowerShell below will show the SCOM ID of the object called 'Hong Kong'. This can be used for any object (or group).
Get-SCOMMonitoringObject -DisplayName "Hong Kong" | select id
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!):