typo bracket
This commit is contained in:
2
kms.ps1
2
kms.ps1
@@ -59,7 +59,7 @@ if ($osType.ProductType -gt 1) {
|
|||||||
if ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSC 2019") {
|
if ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSC 2019") {
|
||||||
# Windows 10 2019 LTSC
|
# Windows 10 2019 LTSC
|
||||||
c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
|
c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
|
||||||
} elseif ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSB 2016")
|
} elseif ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSB 2016") {
|
||||||
# Windows 10 2016 LTSB
|
# Windows 10 2016 LTSB
|
||||||
c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
|
c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
|
||||||
} elseif ($osInfo.WindowsProductName -match "Windows 1[0-1] Enterprise") {
|
} elseif ($osInfo.WindowsProductName -match "Windows 1[0-1] Enterprise") {
|
||||||
|
|||||||
Reference in New Issue
Block a user