update to 22H2

This commit is contained in:
2023-07-25 17:25:30 -04:00
parent e0b39c591b
commit 19d2f40526
+1 -1
View File
@@ -37,7 +37,7 @@ Function IsWindowsVersion {
If ( (IsWindowsVersion -ge "10.0.17134") -and (IsWindowsVersion -le "10.0.19044") ) {
# This is the version of Windows 10 you want to update to, but no further
$MaxWindowsVersion = "21H2"
$MaxWindowsVersion = "22H2"
$BaseRegPath = "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
If (-not (Test-Path $BaseRegPath) ) { New-Item -Path $BaseRegPath -Force | Out-Null }