WMIC is the console version of Windows Management Instrumentation, available from Windows 2000 and onwards. 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 use the command-line (CLI) to get computer-specific model information.
Note: WMIC is deprecated in favor of PowerShell cmdlets which perform equivalent CIM operations, such as get-wmiobject
– Using the built-in “wmic” command, let’s get the serial number associated with our device.
"wmic bios get serialnumber"
This command is not case sensitive
– Tip: You can use the command “wmic csproduct get name” to retrieve the local computer model.
Note: you can use this same command to get version
e.g. wmic bios get version
And as well as the description
wmic bios get description
For other stuffs you can do with this command-use this command
wmic bios get /?
Get computer serial number and other info with PowerShell
– To get the serial number from a computer run the following PowerShell command:
gwmi win32_bios | fl SerialNumber
To get more information e.g. bios version and manufacturer just run:
To get a Computer Model
Wmic computersystem get model
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session