Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, May 9, 2016 8:00 AM
Hello,
i want to integrate a WMI Query in my task sequence.
I want to querry for a hardware ID of a driver.
Example:
Bluetooth Driver Software should be installed on all devices wich having a device with the specifed Hardware ID built in.
All replies (2)
Monday, May 9, 2016 9:44 AM ✅Answered
hi
you can use Win32_PNPEntity to check this
note that since " \ " is a special character, it needs to be escaped (by another \ )
you can test the filter with a command like this one:
get-wmiobject -query "select * from Win32_PNPEntity Where deviceid Like '%PCI\VEN_8086&DEV_2E17%'"
Hope it helps
bruno
Wednesday, May 11, 2016 5:22 AM ✅Answered
I built this WMI querry into my task sequence it was working perfect Thanks!
select * from Win32_PNPEntity Where deviceid Like "%PCI\VEN_8086&DEV_156F%"