TS query not working
Hi,
I want to put a condition for a Fingerprint installation at the end of my task sequence. After installating other software. When I install the Fingerprint software without condition it is working, but when I put a condition it doesn't work.
I have tried those :
- wmi query Select * FROM Win32_ComputerSystem WHERE Model Like "HP EliteBook 8440p"
- wmi query Select * FROM Win32_ComputerSystem WHERE Model Like "EliteBook 8440p"
- ts varaible %model% equals HP EliteBook 8440p
- ts variable %model% equals "HP EliteBook 8440p"
None of those 4 are working. Please help me.
Thank you
April 8th, 2011 8:16am
You should use the %. So the query should look like this: Select * From Win32_ComputerSystem WHERE Model LIKE "%ModelName%"My Blog: http://www.petervanderwoude.nl/
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2011 2:36pm
I agree with Peter, and in that way you could settle for using only %8440p% in stead of the entire name, as HP sometimes put all kinds of wierd sfuff in the end of their model manes!
If you would like to know the excat name, returned to sccm, you could consider running the gather step from the mdt integration, and look trough the ZTIGather.log.Michael Petersen http://blog.coretech.dk/mip/
April 11th, 2011 2:24am