This article only applies to Squared Up Version 2.0. If you're looking for help with Squared Up Version 3.0, please visit our new knowledge base

This article explains how to create an expression in the Advanced Criteria option when scoping a section to show objects.

Useful operators




does not equal



as a wild card


See the following Microsoft pages for more information about syntax and operators:

Criteria Expression Syntax


The property names use the SCOM internal name, not the display name, and the property names are case sensitive, i.e. it must be Name, not name; HealthState not Healthstate.

Useful properties for use in Criteria expressions include:

Property Name Values



HealthStates are:

0 = Unmonitored

1 = Healthy

2 = Warning

3 = Critical




Also see valid property names for object criteria: MonitoringObject Properties

To get a full list you can run the following Powershell script:

Get-SCOMClassInstance -Name "hostname.dnsdomain" | Format-List

Replacing hostname.dnsdomain with your details, for example, server1.mydomain.local

There is no need to qualify the property with the type name such as [Microsoft.Windows.Computer]

To list Objects by Name or Id

To specify a list of objects by Name you should use a Class and the following Criteria:

Name like '%Server3%' OR Name like '%Server4%' OR Name like '%Server2%'

You can filter the list by adding to the Criteria:

(Name like '%Server3%' OR Name like '%Server4%' OR Name like '%Server2%') AND HealthState=3

To specify a list of objects by SCOM Id you should use a Class and the following Criteria:

Id IN ('7021174b-9e5d-5fbf-878a-42b9f0bf6f4a', '9bd4a1cc-f07a-0e36-b37d-d9ee974e0f3c') 

You can filter the list by adding to the Criteria:

Id IN ('7021174b-9e5d-5fbf-878a-42b9f0bf6f4a', '9bd4a1cc-f07a-0e36-b37d-d9ee974e0f3c') AND HealthState=3

See How to find the ID of an object or group

Alternatively you can create a group in SCOM containing the objects you have previously been listing.

Example Criteria

Objects you would like to see


Objects with particular text in their name

DisplayName like '%Server1%'

Objects starting with a particular string

Name like 'dev%'
DisplayName like 'test%'

All objects in maintenance mode

InMaintenanceMode = 1

(or InMaintenanceMode == 'TRUE' or InMaintenanceMode = 'TRUE')

All object not in maintenance mode

InMaintenanceMode = 0

(or InMaintenanceMode != 'TRUE' or InMaintenanceMode <> 'TRUE' or InMaintenanceMode == 'FALSE' or InMaintenanceMode = 'FALSE')

Objects that are not healthy

HealthState != 1

Objects in critical state

HealthState = 3

Objects in critical or warning state

HealthState = 2 or HealthState = 3

Servers that are offline


Servers that are offline, in maintenance and state unknown

IsAvailable='false' OR InMaintenanceMode=1 OR HealthState=0

Machines with a particular OS

OSVersion = ‘6.3.9600’

List objects by name and filter by HealthState (Name like '%Server3%' OR Name like '%Server4%' OR Name like '%Server2%') AND HealthState=3
List objects by SCOM Id and filter by HealthState
Id IN ('7021174b-9e5d-5fbf-878a-42b9f0bf6f4a', '9bd4a1cc-f07a-0e36-b37d-d9ee974e0f3c') AND HealthState=3
To exclude objects from the group specified DisplayName not like '%server3%'


(DisplayName NOT LIKE '%server3%') AND (DisplayName NOT LIKE '%server4%')


Q. Can you hide the unmonitored state when you might have a greyed out state?

A. Yes, use != to mean 'is not equal to, so you can use the Criteria HealthState!=0

See also:
How to set the Scope using the Dashboard Designer

How to use Sort by and Group by to sort objects in Status sections

How to use criteria when scoping alerts