On the Command Prompt screen, type wmic bios get serialnumber and press the enter key on the keyboard of your computer. 3. Once the command is executed, it will list Serial Number of your computer below “SerialNumber” entry on the Command Prompt screen (see above image). I’d probably add below to also grab bios info which is mostly useless but contains the serial number of the machine which can be good for lease tracking etc. $ComputerBios = get-ciminstance win32_bios -ComputerName $ComputerName | select SMBIOSBIOSVersion,Manufacturer,Name,SerialNumber,Version,PSComputerName