How to get BIOS serialnumber with WMIC command
Sebastian Wright
Whenever I use the command line below
wmic bios get serialnumber
It outputs the BIOS Serial number with my laptop.
However, I've tried that command line to get BIOS serial number with my company's PC, I didn't work a bit.
Here was the output:
C:\Users\companypc>wmic bios get serialnumber
SerialNumber
System Serial NumberSo how can I get the BIOS Serial with that problem...
172 Answers
So how can I get the BIOS Serial with that problem.
You do not. You already provided your own answer, however the hardware you have has no serial number. People either did not set one at manufacture, or they forgot about it.
This is sadly quite common.
3IF USING POWERSHELL
First line will grab all params in "Win32_BIOS"
$computerBIOS = get-wmiobject Win32_BIOSSecond Line will only allow the serial number to show when eriting it to the console
$SerialNumber = $computerBIOS.SerialNumberLastly "Write-Host" will show the serial number straight from the bios
write-host $SerialNumberThis is the way I use when trying to find serial number of a remote computer at my job. Its pretty much the same concept but your just not looking for a remote serial your looking for a local one.