update to 22H2
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user