The command line is a text interface for your computer. It’s a program that takes in commands, which it passes on to the computer’s operating system to run. From the command line, you can navigate through files and folders on your computer, just as you would with Windows Explorer on Windows. All critical subsystem settings are exposed through WMI, WMI treats data as objects that are in collections of one or more items. See this guide on how to find computer model, description, and serial number in the Windows environment, and how to find computer serial numbers stated change to be filled by OEM.
How to Open the Command Prompt in Windows 10: - Type "command prompt" into the Start menu to search for it. - Press Win + R to open the Run box, then type "cmd" and hit Enter to open it. - Press Win + X (or right-click the Start button) and choose Command Prompt from the menu.
Using CLI to get Computer Model Information
– Get computer model
c:>wmic csproduct get vendor, version
Output: Vendor Version LENOVO ThinkPad T41X
c:>wmic computersystem get model,name,manufacturer,systemtype
Output: Manufacturer Model Name SystemType LENOVO xxxxxG1 WINCMD-PC x64-based PC
Get your device manufactural: To find the make or manufacturer of an OEM PC, run the following command from a command prompt.
wmic computersystem get manufacturer
This will returns for Dell and Lenovo are “Dell Inc.” and “Lenovo”
Get laptop model: To get the model, run the same command as above, but replace “manufacturer” with “model” Top that off with a folder for OS version and platform, and you have something to use.
C:>wmic computersystem get model
Output: Model ThinkPad T43X
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.