Find out the Computer’s Model Type from a WMI Query


You may 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 determine what your computer model is run a WMIC command in DOS and type in the following command:

CSProduct Get Name

This will output the model and you can insert this into your SELECT statement.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s