Update BuildFFUVM.ps1

- Add support for searching Windows Server SKUs in images in Get-WimIndex
This commit is contained in:
JonasKloseBW
2024-09-23 04:04:13 +02:00
committed by GitHub
parent 5acac4ba5b
commit 3457aedf5d
+4
View File
@@ -2563,9 +2563,13 @@ function Get-WimIndex {
If ($ISOPath) { If ($ISOPath) {
$wimindex = switch ($WindowsSKU) { $wimindex = switch ($WindowsSKU) {
'Home' { 1 } 'Home' { 1 }
'Standard' { 1 }
'Home_N' { 2 } 'Home_N' { 2 }
'Standard (Desktop Experience)' { 1 }
'Home_SL' { 3 } 'Home_SL' { 3 }
'Datacenter' { 3 }
'EDU' { 4 } 'EDU' { 4 }
'Datacenter (Desktop Experience)' { 4 }
'EDU_N' { 5 } 'EDU_N' { 5 }
'Pro' { 6 } 'Pro' { 6 }
'Pro_N' { 7 } 'Pro_N' { 7 }