digitalproductid
Decodes the Windows 7/8/10 license key from its binary registry encoding.
Get it
go get -u github.com/sgreben/digitalproductid
Usage
# Win7/8
c:\> digitalproductid
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
# Win10
c:\> digitalproductid -n DigitalProductId
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX