Creating Intune Assignment Filters for Lenovo Models
Intune reports device.model for Lenovo hardware as the machine type model — 21N1CTO1WW — not the friendly name. Writing a model-based assignment filter means writing it against machine type prefixes, which first means working out every prefix that belongs to the model you care about. This post covers a PowerShell script that pulls those prefixes from the Lenovo model catalog and builds the filters for you.

