update to 20H2
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
If ( IsWindowsVersion -ge "10.0" ) {
|
||||
|
||||
## Make sure the endpoint isn't already running 2004
|
||||
If ( IsWindowsBuild -lt 19041 ) {
|
||||
If ( IsWindowsBuild -lt 19042 ) {
|
||||
|
||||
## Set the directory where the Windows Update Assistant will be downloaded to
|
||||
$DOWNLOADS = $Env:TEMP
|
||||
|
||||
## URL to the 2004 version of the Windows Update Assistant
|
||||
$URL = 'https://download.microsoft.com/download/8/3/c/83c39dca-2d27-4c24-b98b-0a4d6d921c80/Windows10Upgrade9252.exe'
|
||||
$URL = 'https://download.microsoft.com/download/3/0/1/301147e7-e3d3-467e-a9eb-003a72840887/Windows10Upgrade9252.exe'
|
||||
|
||||
## Uninstall previous Windows 10 Update Assistant
|
||||
If ( Test-Path "${Env:SystemDrive}\Windows10Upgrade\Windows10UpgraderApp.exe" )
|
||||
|
||||
Reference in New Issue
Block a user