wmic path win32_computersystemproduct get uuid #works in CMD
####
my $UUID = system ('wmic path win32_computersystemproduct get uuid');
####
my ($UUID) = `ioreg -d2 -c IOPlatformExpertDevice` =~ /^.*\bIOPlatformUUID\b.*"([^"]+)"\s*$/m or print "failed to parse ioreg";