Random Powershell Scripts, if you find something you like please take it with you!
Reads the windows 10 license key and saves it to a USB drive (if setup) else it will be saved to the desktop.
Config: In the top of the script there are 2 variables that you can use to change it's function.
$serialnumber
Here you can save the USB drive where you want to save the output to. Nice i you need to do a lot of computers$path
Here you can set the output location of the script on the USB drive.
NOTE! When the $serialnumber
is not set correct it will save the file to the desktop and show all connected usb drives with the serial numbers