From 7d4e8ba27c0113f0c0ac08d8cd655d35fe9ccd05 Mon Sep 17 00:00:00 2001 From: rbalsleyMSFT <53497092+rbalsleyMSFT@users.noreply.github.com> Date: Thu, 29 May 2025 15:38:27 -0700 Subject: [PATCH] Add additional Windows SKU and release options to core logic - Expanded the list of allowed SKUs to include 'Enterprise 2016 LTSB', 'Enterprise N 2016 LTSB', 'Enterprise LTSC', 'Enterprise N LTSC', 'IoT Enterprise LTSC', and 'IoT Enterprise N LTSC'. - Updated the list of all Windows releases to include 'Windows 10 LTSC 2021' and 'Windows 10 LTSC 2024'. - Modified the Windows version map to include version mappings for LTSC 2021 and LTSC 2024. --- FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 b/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 index e7be7c9..429bcb5 100644 --- a/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 +++ b/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 @@ -50,7 +50,9 @@ $script:skuList = @( 'Home', 'Home N', 'Home Single Language', 'Education', 'Education N', 'Pro', 'Pro N', 'Pro Education', 'Pro Education N', 'Pro for Workstations', 'Pro N for Workstations', 'Enterprise', 'Enterprise N', 'Standard', - 'Standard (Desktop Experience)', 'Datacenter', 'Datacenter (Desktop Experience)' + 'Standard (Desktop Experience)', 'Datacenter', 'Datacenter (Desktop Experience)', + 'Enterprise 2016 LTSB', 'Enterprise N 2016 LTSB', 'Enterprise LTSC', + 'Enterprise N LTSC', 'IoT Enterprise LTSC', 'IoT Enterprise N LTSC' ) $script:allowedLangs = @( @@ -66,7 +68,9 @@ $script:allWindowsReleases = @( [PSCustomObject]@{ Display = "Windows Server 2016"; Value = 2016 }, [PSCustomObject]@{ Display = "Windows Server 2019"; Value = 2019 }, [PSCustomObject]@{ Display = "Windows Server 2022"; Value = 2022 }, - [PSCustomObject]@{ Display = "Windows Server 2025"; Value = 2025 } + [PSCustomObject]@{ Display = "Windows Server 2025"; Value = 2025 }, + [PSCustomObject]@{ Display = "Windows 10 LTSC 2021"; Value = 2021 }, + [PSCustomObject]@{ Display = "Windows 10 LTSC 2024"; Value = 2024 } ) $script:mctWindowsReleases = @( @@ -79,7 +83,9 @@ $script:windowsVersionMap = @{ 11 = @("22H2", "23H2", "24H2") 2016 = @("1607") 2019 = @("1809") + 2021 = @("21H2") # LTSC 2021 2022 = @("21H2") + 2024 = @("24H2") # LTSC 2024 2025 = @("24H2") }