how to get serial number using cmd windows 10 code example Example: cmd get serial number wmic bios get serialnumber