Criteria Operators

Jamf Pro Documentation 11.16.0

Solution
Application
Content Type
Technical Documentation
Utilities & Services
version
11.16.0
ft:locale
en-US
vrm_version
11.16.0

The following table lists operators and examples of how they might be used to qualify values:

Operator

Definition

Example

is

Matches the specified string exactly

The criteria "'Computer Name' is 'Test Computer 6'" includes computers with the name "Test Computer 6". By contrast, a computer with the name "Test Computer 7" is not included.

is not

Matches values that do not match the specified string exactly

The criteria "'Display Name' is not 'CEO iPad'" includes all devices except those with the exact display name "CEO iPad". By contrast, a device with the display name "'CEO iPad Old'" is not included.

like

Matches value that contain the specified string

The criteria "'Computer Name' like 'AP Science Mac'" includes computers with names such as "AP Science Mac 1", "AP Science Mac 2", and "AP Science Mac 3".

not like

Matches values that do not contain the specified string

The criteria "'Display Name' not like 'Staff'" includes devices with display names such as "Student A", "Student B", and "Smith Personal iPhone".

has

Matches applications or files that are present on a device

The criteria "'Licensed Software' has 'Microsoft Excel'" includes computers that have Microsoft Excel currently installed.

does not have

Matches applications or files that are not present on a device

The criteria "'Licensed Software' does not have 'Microsoft Word'" includes computers that do not have Microsoft Word currently installed.

matches regex

Matches values that match the specified regular expression (regex). For more information on regex, see the Using Regex with Smart Groups and Advanced Searches article.

The criteria "'Computer Name' matches regex '^LAB-.*$s'" includes computers with names such as "LAB-ART-101", "LAB-CS-101", and "LAB-CS-102".

does not match regex

Matches values that do not match the specified regular expression (regex). For more information on regex, see the Using Regex with Smart Groups and Advanced Searches article.

The criteria "'Display Name' does not match regex '^HS'" includes devices with display names such as "iPad HS loaner" and "11 HS iPad".

before (yyyy-mm-dd)

Matches events that occurred before a specified date

The criteria "'Last Inventory Update' before (yyyy-mm-dd) '2024-05-01'" includes computers or mobile devices that updated their inventory before 01 May 2024.

after (yyyy-mm-dd)

Matches events that occurred after a specified date

The criteria "'Last Check-in' after (yyyy-mm-dd) '2024-05-01'" includes computers or mobile devices that checked in with Jamf Pro after 01 May 2024.

more than x days ago

Matches events that occurred more than a specified number of days ago

The criteria "'Last Enrollment' more than x days ago '30'" includes computers or mobile devices that completed an enrollment more than 30 days ago.

less than x days ago

Matches events that occurred less than a specified number of days ago

The criteria "'Last Inventory Update' less than x days ago '14'" includes computers or mobile devices that have updated their inventory less than 14 days ago.

current

Matches values when a value is consistent with what Jamf Pro identifies as the most recent version

The criteria "'JAMF Binary Version' current" with the Value field left blank includes computers that have the current version of the jamf-pro binary installed.

not current

Matches values when a value is not consistent with what Jamf Pro identifies as the most recent version

The criteria "'JAMF Binary Version' not current" with the Value field left blank includes computers that do not have the current version of the jamf-pro binary installed.

greater than

Matches operating system versions that are greater than the specified version

The criteria "'Operating System Version' greater than '13'" includes computers that have macOS 13.0.1 or later installed.

less than

Matches operating system versions that are less than the specified version

The criteria "'Operating System Version' less than '14'" includes computers that have macOS 13.6.7 or earlier installed.

greater than or equal

Matches operating system versions that are greater than or equal to the specified version

The criteria "'OS Version' greater than or equal '16'" includes mobile devices that have iOS, iPadOS, or tvOS 16.0 or later installed.

less than or equal

Matches operating system versions that are less than or equal to the specified version

The criteria "'OS Version' less than or equal '17'" includes mobile devices that have iOS, iPadOS, or tvOS 17.0 or earlier installed.

member of

Matches computer, mobile device, or user values that are members of a specified smart or static group

The criteria "'Computer Group' member of" with the Value field containing the name of an existing smart or static group includes members of the specified smart or static group.

not member of

Matches computer, mobile device, or user values that are not members of a specified smart or static group

The criteria "'Mobile Device Group' not member of" with the Value field containing the name of an existing smart or static group includes computers, mobile devices, or users that are not a member of the specified smart or static group.