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