---
title: Using the query builder
slug: device-management-apple/using-the-query-builder
createdAt: 2026-10-06T07:47:34.835Z
---

**Procedure**

1. Select a field on which to search. **Hint**: you can type a few letters of the field name to see a short list of matching fields, or press <font color="#323232">Expand All</font> within the field list to see all the fields.
   For example, if you select <font color="#323232">Status</font>, the search engine provides only values available for <font color="#323232">Status</font>.
2. Select an operator, such as <font color="#323232">Equals</font>.
3. Click in the <font color="#323232">Value</font> field to enter a value you want to search.
4. Some fields have predetermined values that you can select.
5. Select additional fields and criteria as needed.
6. Click <font color="#323232">All</font> to combine the criteria with a logical AND or click <font color="#323232">Any</font> to combine the criteria with OR.
7. Click <font color="#323232">Search</font> to display the matching devices and their owners.

:::hint{type="info" indent="1"}
To include retired devices in the results, uncheck the check box to the left of the <font color="#323232">Search</font> button.
:::

**Related topics**

- [Using a manually edited search expression](docId\:U0hdbs1TkD3tQtq1SskB3)
- [Using both the query builder and manual editing](docId\:tlsV2aDEabw5EVEP-Z30S)
