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?
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.
/* 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")