update to 21H2
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
If ( IsWindowsVersion -ge "10.0" ) {
|
If ( IsWindowsVersion -ge "10.0" ) {
|
||||||
|
|
||||||
## Make sure the endpoint isn't already running the version we're installing
|
## Make sure the endpoint isn't already running the version we're installing
|
||||||
If ( IsWindowsBuild -lt 19043 ) {
|
If ( IsWindowsBuild -lt 19044 ) {
|
||||||
|
|
||||||
## Set the directory where the Windows Update Assistant will be downloaded to
|
## Set the directory where the Windows Update Assistant will be downloaded to
|
||||||
$DOWNLOADS = $Env:TEMP
|
$DOWNLOADS = $Env:TEMP
|
||||||
|
|
||||||
## URL to the Windows Update Assistant
|
## URL to the Windows Update Assistant
|
||||||
$URL = 'https://download.microsoft.com/download/3/0/1/301147e7-e3d3-467e-a9eb-003a72840887/Windows10Upgrade9252.exe'
|
$URL = 'https://download.microsoft.com/download/f/1/9/f19ea9d5-1b5f-4a4d-9f50-04cbf63dc9c6/Windows10Upgrade9252.exe'
|
||||||
|
|
||||||
## Uninstall previous Windows 10 Update Assistant
|
## Uninstall previous Windows 10 Update Assistant
|
||||||
If ( Test-Path "${Env:SystemDrive}\Windows10Upgrade\Windows10UpgraderApp.exe" )
|
If ( Test-Path "${Env:SystemDrive}\Windows10Upgrade\Windows10UpgraderApp.exe" )
|
||||||
|
|||||||
Reference in New Issue
Block a user