Relevance to only find certain computer models (Windows)

I have a couple of Bitlocker tasks that need to be installed on new laptops only, but my IEM Console seems to have the problem of incorrectly showing the device type (laptop shows as desktop but desktops also show as desktop) on computer with Win10 image installed. I read this might be an issue in the hardware itself so I thought about a workaround to make the task relevance sniff out our laptop models and apply the tasks based on that information.

My question is: Can someone help me write the relevance that only finds certain models? For example Lenovo T450 (20BV001BMS) and T550 (20CK0000MS)

Everything worked great in Windows 7. Anyone know what changed in Win10?

Use a WMI query for Windows computers: string values of selects "Model from Win32_ComputerSystem" of wmi

Just qualify the response and you have your answer.

The info you are looking for can be found in the SMBIOS using the SMBIOS inspector, which is more efficient than the WMI option proposed by @JonL . It also works on Linux in addition to windows.

See this example: https://bigfix.me/analysis/details/2994751

unique values whose(it != "") of (it as string as trimmed string) of values "product_name" of structures "system_information" of smbios

Also this: https://bigfix.me/relevance/details/2999443

/* check for supported model: OptiPlex, Latitude, Precision, Venue Tablets, XPS */ exists ((value "product_name" of structures "system_information" of smbios) as string as uppercase) whose(it starts with "OPTIPLEX" OR it starts with "LATITUDE" OR it starts with "PRECISION" OR it starts with "XPS" OR it starts with "VENUE")

Thank you for the help. I was able to fix the issue. Desktop computers now install without Bitlocker.