How to do a correct WMI query?
-
Thursday, November 22, 2012 1:53 AM
I want to do some computer-model-specific divers installation for my Lenovo "Zhaoyang K29" laptops, because some OEM drivers were offered as a form of application.
First, I did a WMI query test with the tool - wbemtest.exe - on a K29 laptop to determine how to do the WMI query, and got the information below:
So I made a Task Sequence Group "Install OEM Drivers and Applications Packages" and add a WMI Query like below:
But when the Task Sequence went to the step “Install OEM Drivers and Applications Packages”, errors occured and the entire procedure of Task suquences were interrupted :
Can some one teach me how to make WMI Query works correctly:
1. If the WMI condition matched, the Task Sequence Group works.
2. If the WMI condition not matched, the Task Sequence Group is skipped automatically, but not interrupting the entire procedure of Task suquences
- Edited by Long Bo Thursday, November 22, 2012 1:55 AM
All Replies
-
Thursday, November 22, 2012 5:24 AM
Use the following:
SELECT * FROM Win32_ComputerSystemProduct WHERE version like "%x.y.z %" AND model like "%name %
http://social.technet.microsoft.com/Forums/en-us/configmgrosd/thread/e474a4dd-684a-4272-8137-8892a3499192
Please also check the below blog article.
http://blogs.msdn.com/b/alex_semi/archive/2011/01/18/creating-faster-oem-images-with-osd-and-mdt.aspx
You can seek the assistance here.
http://social.technet.microsoft.com/Forums/en-us/configmgrosd/threads
http://social.technet.microsoft.com/Forums/en-US/mdt/threads
Thanks- Marked As Answer by Cheers ZHANGMicrosoft Contingent Staff, Moderator Wednesday, November 28, 2012 7:22 AM

