Configuration Manager 2012, Deployment, Task Sequence, WMI

Task Sequence WMI Queries for Lenovo BIOS Updates

wmic ComputerSystem get model


Task Sequence WMI Query:

SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “%3093AC7%” OR Model LIKE “%30933FR%”


wmic BIOS get version

LENOVO – 1230

Task Sequence WMI Query:

SELECT * FROM Win32_BIOS WHERE NOT Version LIKE “%1230%”

Administration, Applications, Configuration Manager 2012, Deployment, Drivers, Hardware, System Center, Task Sequence, WMI

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.


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%’