Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

@Echo Off
Set "pkey="
For /F "Tokens=2 Delims==" %%A In ('
    WMIC Path SoftwareLicensingService Get OA3xOriginalProductKey /Value
') Do Set "pkey=%%A"
If Not Defined pkey Exit /B
cscript C:\Windows\system32\slmgr.vbs /ipk %pkey%

About

Collection of Batch and Powershell scripts for various Windows system administration tasks.

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages