Thursday, December 15, 2016

Get computer model

This post explains how to get computer model (like manufacturer name, model number) and other hardware details from Windows command prompt. The below commands should work on every edition of Windows(Windows 7, Windows 8, Windows 10) having wmic.

Just run the command given below to get computer model.

wmic csproduct get vendor, version
There’s another command which can be used to get the computer system model information. We can also get architecture(32bit/64bit) using this command.

wmic computersystem get model,name,manufacturer,systemtype
Based on the information you require, you can use any of the above commands. These commands return the following information on my computer.

c:\>wmic csproduct get vendor, version
Vendor  Version
LENOVO  ThinkPad T410

c:\>wmic computersystem get model,name,manufacturer,systemtype
Manufacturer  Model    Name        SystemType
LENOVO        2236EG1  WINCMD-PC  x64-based PC
On another laptop of mine, I see the below output for the above two commands.

C:\WINDOWS\system32>wmic csproduct get vendor, version
Vendor     Version
Dell Inc.

C:\WINDOWS\system32>wmic computersystem get model,name,manufacturer,systemtype
Manufacturer  Model           Name            SystemType
Dell Inc.     Latitude E7450   WINCMD-PC2  x64-based PC
C:\WINDOWS\system32>
Find laptop model

You can use the below command to get the model of the laptop.

C:\>wmic computersystem get model
Model
ThinkPad T430
Another example

C:\WINDOWS\system32>wmic computersystem get model
Model
Latitude E7450
This command would be useful to remotely fetch the model information from a bunch of computers in the network. We need to invoke this command on each of the computers and obtain the information.

No comments:

Post a Comment