> 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

This device filter is designed to target all Dell laptops while excluding any models that contain the word "Tower" in their name.

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="https://1802673581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FooVNW5qJsIfuFAlaIgjW%2Fuploads%2FTdUfrVhqBOttfEGzYtVR%2Fimage.png?alt=media&amp;token=66690822-2834-479a-b7d9-5edfe990181c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1802673581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FooVNW5qJsIfuFAlaIgjW%2Fuploads%2FNW0DI5iQHchn7VjbOPcv%2Fimage.png?alt=media&amp;token=0e26d690-8264-444f-87fe-09025a87fc5c" alt=""><figcaption></figcaption></figure>
