update to 21H2
This commit is contained in:
@@ -37,7 +37,7 @@ Function IsWindowsVersion {
|
|||||||
If ( (IsWindowsVersion -ge "10.0.17134") -and (IsWindowsVersion -le "10.0.19044") ) {
|
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
|
# This is the version of Windows 10 you want to update to, but no further
|
||||||
$MaxWindowsVersion = "21H1"
|
$MaxWindowsVersion = "21H2"
|
||||||
|
|
||||||
$BaseRegPath = "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
|
$BaseRegPath = "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
|
||||||
If (-not (Test-Path $BaseRegPath) ) { New-Item -Path $BaseRegPath -Force | Out-Null }
|
If (-not (Test-Path $BaseRegPath) ) { New-Item -Path $BaseRegPath -Force | Out-Null }
|
||||||
|
|||||||
Reference in New Issue
Block a user