---
title: Using a manually edited search expression
slug: device-management-apple/using-a-manually-edited-search-expression
createdAt: 2026-10-06T07:47:34.837Z
---

**Procedure**

1. Type or paste the search criteria into the expression field. The automatic syntax check displays a status icon next to the expression field. A green icon indicates that the syntax is correct, and a red icon if incorrect.

::Image[]{src="https://api.archbee.com/api/optimize/V3jJx_afLEcmDauLTrzss/QwHsP0iI2jMsHt8BU9J17_query-builder.jpg" position="flex-start" size="100" width="2486" height="341" initialPath="../Resources/Images/query builder.jpg" githubPath="Device Management Guide for Apple/Resources/Images/query builder.jpg" darkWidth="2486" darkHeight="341" showCaption="false" indent="1"}

2. When the syntax is correct, click <font color="#323232">Search</font> to display the matching devices and their owners.
