File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,20 @@ If (-not $isAdmin) {
384384 VHDName = " Win2019Core_G2.vhdx"
385385 Size = 30 GB
386386 }
387+ }elseif ($BuildNumber -eq 20348 ){
388+ # Windows Server 2022
389+ $ServerVHDs += @ {
390+ Kind = " Full"
391+ Edition = " 4"
392+ VHDName = " Win2022_G2.vhdx"
393+ Size = 60 GB
394+ }
395+ $ServerVHDs += @ {
396+ Kind = " Core"
397+ Edition = " 3"
398+ VHDName = " Win2022Core_G2.vhdx"
399+ Size = 30 GB
400+ }
387401 }elseif ($BuildNumber -ge 17744 -and $SAC ){
388402 $ServerVHDs += @ {
389403 Kind = " Core"
Original file line number Diff line number Diff line change @@ -194,8 +194,11 @@ If (-not $isAdmin) {
194194 19041 {
195195 " WinServer20H1_G2.vhdx"
196196 }
197+ 20348 {
198+ " Win2022Core_G2.vhdx"
199+ }
197200 }
198- if ($BuildNumber -gt 18362 ){
201+ if ($BuildNumber -gt 20348 ){
199202 $tempvhdname = " WinSrvInsiderCore_$BuildNumber .vhdx"
200203 }
201204 }elseif ($Edition -like " Hyper-V*" ){
@@ -233,8 +236,11 @@ If (-not $isAdmin) {
233236 17763 {
234237 " Win2019_G2.vhdx"
235238 }
239+ 20348 {
240+ " Win2022_G2.vhdx"
241+ }
236242 }
237- if ($BuildNumber -GT 18362 ){
243+ if ($BuildNumber -GT 20348 ){
238244 $tempvhdname = " WinSrvInsider_$BuildNumber .vhdx"
239245 }
240246 }else {
@@ -253,7 +259,6 @@ If (-not $isAdmin) {
253259 }
254260 10240 {
255261 " Win10TH1_G2.vhdx"
256-
257262 }
258263 10586 {
259264 " Win10TH2_G2.vhdx"
You can’t perform that action at this time.
0 commit comments