windows command to get serial number code example Example: cmd get serial number wmic bios get serialnumber