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 SquaredUp DS and observing the URL.

How to find a SCOM ID using SquaredUp DS

  1. Type the group or object name in the quick find box at the top of SquaredUp DS, and select the matching result to navigate to the page.
  2. Copy the SCOM ID from the page URL. The URL contains the SCOM ID as id=<SCOM ID>, for example:
    http://<SquaredUpServer>/SquaredUp/drilldown/scomobject?id=bcb643d0-62c8-7555-ffe0-36c1a86101a4

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:

  1. Open a SCOM PowerShell window (Start Menu > Microsoft System Center > Operation Manager Shell)
  2. 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

See Useful PowerShell Commands.

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!):

http://blog.tyang.org/2015/03/11/various-ways-to-find-the-id-of-a-monitoring-object-in-opsmgr/

Was this article helpful?


Have more questions or facing an issue?