Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED SCCM WMI Query in Apply Driver Package

Status
Not open for further replies.

ikkhatri

Active Member
Messages
35
Solutions
2
Reaction score
3
Points
8
Hi Again,

I have a query question again.

I have 2 laptops that I am testing with in my lab environment.

Laptop 1: dell latitude e6520
Laptop 2: hp probook 6560b

WMI Query in Apply Driver Package for the 2 above:

SELECT * FROM Win32_ComputerSystem WHERE Model LIKE '%Dell Latitude E6520%'

and

SELECT * FROM Win32_ComputerSystem WHERE Model LIKE '%HP Probook 6560b%'

I also have Hyper-V virtual machines that I would like to use this TS with.

When running TS for Hyper-V, it doesn't require any drivers. I would like to keep the option auto apply drivers.
Do you happen to know a query that will skip the applying of Dell and HP laptop driver package and auto apply drivers as it is a hyper-v VM ?

Thanks.
 

Attachments

  • Capture.PNG
    Capture.PNG
    41.2 KB · Views: 57
I added a wmi query to auto apply drivers so when there is a hyper-v vm being imaged it detects the machine type so all good.
 
Status
Not open for further replies.

Forum statistics

Threads
7,142
Messages
27,883
Members
18,173
Latest member
delairmp
Back
Top