9 lines
323 B
Bash
9 lines
323 B
Bash
# shell command to get the windows CD key
|
||
# (c) 2018 vbettag - wraper for powershell
|
||
# - requires powershell
|
||
# - requires admin rights
|
||
# shell command to get the windows CD key
|
||
# get the windows CD key
|
||
powershell -Command "(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey"
|
||
|