Created
October 12, 2022 14:27
-
-
Save jonasbjork/37d10310e4f70b12031a073b45a8a508 to your computer and use it in GitHub Desktop.
Get OEM MS Windows license key from laptop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Get the OEM Microsoft Windows license key from the laptop | |
# | |
sudo cat /sys/firmware/acpi/tables/MSDM | awk '{print $2}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment