Corrected IoT product name

This commit is contained in:
2024-11-25 19:15:13 -05:00
parent 2ff2daa43c
commit 43d5dd0c09

View File

@@ -59,7 +59,7 @@ if ($osType.ProductType -eq 1) {
if ($osInfo.WindowsProductName -match "Windows 10 Enterprise LTSC 20[19|21|24]") {
# Windows 10/11 2019/2021/2024 LTSC
c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
}elseif ($osInfo.WindowsProductName -match "Windows 10 IoT Enterprise LTSB 20[19|21|24]") {
}elseif ($osInfo.WindowsProductName -match "Windows 10 IoT Enterprise LTSC 20[19|21|24]") {
# Windows 10/11 IoT 2019/2021/2024 LTSC
c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk KBN8V-HFGQ4-MGXVD-347P6-PDQGT
} elseif ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSB 2016") {