# Intune Device Filter: Laptops Only

1. **Sign in to the Intune admin center.**
2. **Navigate to: Tenant Administration > Filters > Managed devices.**
3. **Edit your existing filter or create a new one:**
   * Click on Create or select your existing filter to edit.
   * Enter a Name and Description for your filter if creating a new one.
4. **Define the filter rules:**
   * On the Rules page, use the following rule to include the specified models and exclude those containing "tower":

     ```
     ((device.Model -startsWith "XPS") -or 
     (device.Model -startsWith "Precision") -or 
     (device.Model -startsWith "Latitude") -or 
     (device.Model -startsWith "Surface")) 
     -and 
     (device.Model -notContains "Tower")
     ```
   * This rule includes devices whose model names start with "XPS", "Precision", "Latitude", or "Surface" and excludes any device model that contains "Tower".
5. **Preview and validate:**
   * Use the Preview option to ensure your filter works as expected.
6. **Assign the filter:**
   * Apply the filter to your desired policies or apps.

<figure><img src="/files/LKGWOcpECpWMtFiapebq" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Za5buAZpb2TdgNsxMKr1" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.syswow64.co.uk/syswow64/blog/intune-device-filter-laptops-only.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
