From 8e30890de7f46b80e0c160e2512863321d315183 Mon Sep 17 00:00:00 2001 From: Ath <53652632+Ath-PS@users.noreply.github.com> Date: Sat, 21 Feb 2026 11:07:25 +0000 Subject: [PATCH] Add Windows 11 23H2 and 24H2 support Adds support for Windows 11 23H2 and 24H2 in the MinimumSupportedWindowsRelease parameter. This addresses issue #218 where newer Windows versions were missing from the requirement rule options. Changes: - Added W11_23H2 and W11_24H2 to ValidateSet attribute - Added corresponding entries to OperatingSystemTable hash table --- Public/New-IntuneWin32AppRequirementRule.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Public/New-IntuneWin32AppRequirementRule.ps1 b/Public/New-IntuneWin32AppRequirementRule.ps1 index ec0381b..b26f75a 100644 --- a/Public/New-IntuneWin32AppRequirementRule.ps1 +++ b/Public/New-IntuneWin32AppRequirementRule.ps1 @@ -55,7 +55,7 @@ function New-IntuneWin32AppRequirementRule { [parameter(Mandatory = $true, HelpMessage = "Specify the minimum supported Windows release version as a requirement for the Win32 app.")] [ValidateNotNullOrEmpty()] - [ValidateSet("W10_1607", "W10_1703", "W10_1709", "W10_1803", "W10_1809", "W10_1903", "W10_1909", "W10_2004", "W10_20H2", "W10_21H1", "W10_21H2", "W10_22H2", "W11_21H2", "W11_22H2")] + [ValidateSet("W10_1607", "W10_1703", "W10_1709", "W10_1803", "W10_1809", "W10_1903", "W10_1909", "W10_2004", "W10_20H2", "W10_21H1", "W10_21H2", "W10_22H2", "W11_21H2", "W11_22H2", "W11_23H2", "W11_24H2")] [Alias('MinimumSupportedOperatingSystem')] [string]$MinimumSupportedWindowsRelease, @@ -101,6 +101,8 @@ function New-IntuneWin32AppRequirementRule { "W10_22H2" = "Windows10_22H2" "W11_21H2" = "Windows11_21H2" "W11_22H2" = "Windows11_22H2" + "W11_23H2" = "Windows11_23H2" + "W11_24H2" = "Windows11_24H2" } # Construct ordered hash-table with least amount of required properties for default requirement rule