I just wanted to share a quick way to pull a Windows PC’s serial number via Cmd prompt or Powershell. You can do this by using the WMI command-line utility as follows:
wmic bios get serialnumber
While we are on the topic, you should also be able to snag the computer model using this command:
wmic csproduct get name
Note: These commands should be fairly widely supported but may not be compatible with all models if the information has not been coded in the BIOS.