Advanced Mobile Device Searches

Advanced mobile device searches allow you to use detailed search criteria to search for devices in Jamf Pro. These types of searches give you more control over your search by allowing you to do the following:

  • Generate specific search results.

  • Specify which attribute fields to display in the search results.

  • Save the search.

Criteria Operators

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'" includescomputers 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".

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".

And/Or Groupings

If you have multiple criteria, you can use "and/or" groupings to define the relationships between them and create logic that includes the devices you want in your advanced search. The following groupings are available when multiple criteria are used:

  • and—Only devices that fulfill all related criteria will be included in membership.

  • or—Devices that fulfill any of the related criteria will be included in membership.

If more complex logic is necessary to define the relationships between your criteria, you can use the parenthesis pop-ups to group criteria together.

Creating an Advanced Mobile Device Search

  1. Log in to Jamf Pro.

  2. Click Devices at the top of the page.

  3. Click Search Inventory.

  4. Click New images/download/thumbnails/86475844/Icon_New_Button.png .

  5. Use the Search pane to configure basic settings for the search.
    To save the search, select the Save this Search checkbox.

  6. Click the Criteria tab and add criteria for the search:

    1. Click Add images/download/thumbnails/86475844/Icon_Add_Button.png .

    2. Click Choose for the criteria you want to add.

      Note: Only your 30 most frequently used criteria are listed. To display additional criteria, click Show Advanced Criteria.

    3. Choose an operator from the Operator pop-up menu.

    4. Enter a value in the Value field or browse for a value by clicking Browse images/download/thumbnails/86475844/Browse_icon.png .

    5. Repeat steps a through d to add criteria as needed.

  7. Choose an operator from the And/Or pop-up menus to specify relationships between criteria.

  8. To group criteria and join multiple operations, choose parentheses from the pop-up menus around the criteria you want to group.

    images/download/attachments/86475844/AdvancedSearchWithReports.png

    Operations in the search take place in the order they are listed (top to bottom).

  9. Click the Display tab and select the attribute fields you want to display in your search results.

  10. Click Save images/download/thumbnails/81531754/floppy-disk.png .

  11. To view search results, click View images/download/thumbnails/86475844/preview-content.png .
    The results of a saved search are updated each time mobile devices contact Jamf Pro and meet or fail to meet the specified search criteria.

  12. (Optional) To export the search results, click Export and follow the on-screen instructions.

Related Information

For related information, see the following sections in this guide:

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2021 Jamf. All rights reserved.