Scope
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.
Procedure
- Open your SCCM Task Sequence
- Highlight the task or folder that needs a WMI Condition
- Click the Options Tab
- Click Add Condition
-
Click Query WMI
- Insert your WQL Query
- 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%'
- Click OK
- Click OK
No comments:
Post a Comment