How to find computer serial number

Using the buid in “wmic” command:

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:

gwmi win32_bios

To get a Computer Model

Wmic computersystem get model