Use WMI to find the serial number of the system

Problem is, that wmic bios get serialnumber is completely wrong command, the other command should be used.

Hint for those that will face this problem:
Answer is in following format - XXXXX-XXXXX-XXXXX-XXXXX

1 Like