Configuration Manager OSD Task Sequence WMI Queries

During your OSD Task Sequence you may want to determine whether the machine is a laptop or not, install software to a specific machine name format, or install drivers to only specific models of laptops.  For this you can use the WMI Query Condition within the Tasks of your Task Sequence.  A great tool to look up what can be queried from of WMI is WMICodeCreator and is provided by Microsoft.

Examples:

Laptop Hardware: Select * FROM Win32_Battery WHERE Chemistry > 3

Computer Model:  Select * FROM Win32_ComputerSystem WHERE Model like ‘%latitude%5400%’

Computer Name:  Select * FROM Win32_ComputerSystem WHERE Name like ‘CH%’ or Name like ‘AR%’

Advertisements