> For the complete documentation index, see [llms.txt](https://www.syswow64.co.uk/syswow64/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.syswow64.co.uk/syswow64/blog/intune-device-filter-laptops-only.md).

# 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>
