Computer’s Model Type from a WMI Query

HI Guys,
Recently I was working on OSD and came on a point where i had to apply a specific script/Action/Task Sequence step to specific set of laptops.
I achieved this with Computer Model property, Which gives you model information of workstations
If You  want to filter driver installs as part of your OSD deployment using a WMI Query and a SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “%<MODEL>%” statement.
To know what your computer model is : run a WMIC command and type in the following command:
CSProduct Get Name
This will output the model name and you can insert this into your SELECT statement.
Cheers!!

Comments

Popular posts from this blog

Windows Deployment Service ( WDS ) and Errors and Solutions

Hyper-V Questions and answers !

DHCP, WDS, PXE Boot and Common Issues