Skip to content

Commit 065cc79

Browse files
authored
Add support for Azure Stack HCI
1 parent 43431ca commit 065cc79

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

Update-WSUSComputerOperatingSystems.ps1

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,40 @@ $ServerProductVersions = @(
242242
}
243243
)
244244

245+
$AzureStackHCIProductVersions = @(
246+
# Based on https://betawiki.net/wiki/Azure_Stack_HCI
247+
@{
248+
ProductVersion = ', version 20H2'
249+
OSMajorVersion = 10
250+
OSMinorVersion = 0
251+
OSBuildNumber = 17784
252+
}
253+
@{
254+
ProductVersion = ', version 21H2'
255+
OSMajorVersion = 10
256+
OSMinorVersion = 0
257+
OSBuildNumber = 20348
258+
}
259+
@{
260+
ProductVersion = ', version 22H2'
261+
OSMajorVersion = 10
262+
OSMinorVersion = 0
263+
OSBuildNumber = 20349
264+
}
265+
@{
266+
ProductVersion = ', version 23H2'
267+
OSMajorVersion = 10
268+
OSMinorVersion = 0
269+
OSBuildNumber = 25398
270+
}
271+
@{
272+
ProductVersion = ', version 24H2'
273+
OSMajorVersion = 10
274+
OSMinorVersion = 0
275+
OSBuildNumber = 26100
276+
}
277+
)
278+
245279
$OSDescriptions = @(
246280
@{
247281
ProductName = 'Windows'
@@ -250,6 +284,7 @@ $OSDescriptions = @(
250284
# Based on https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-operatingsystem
251285
# Based on https://learn.microsoft.com/en-us/mem/intune/fundamentals/filters-device-properties
252286
# Based on https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo
287+
# Based on https://betawiki.net/wiki/List_of_Windows_product_types
253288
@{
254289
ProductEdition = ' S'
255290
NewProductTypes = @(178)
@@ -463,6 +498,16 @@ $OSDescriptions = @(
463498
}
464499
)
465500
}
501+
@{
502+
ProductName = 'Microsoft Azure Stack HCI'
503+
ProductVersions = $AzureStackHCIProductVersions
504+
ProductTypes = @(
505+
@{
506+
ProductEdition = ''
507+
NewProductTypes = @(406)
508+
}
509+
)
510+
}
466511
)
467512

468513
$SqlcmdQuery = "USE [SUSDB]"

0 commit comments

Comments
 (0)