hopefully the last minor wording update
This commit is contained in:
@@ -72,7 +72,7 @@ If ( Test-Path $WIAPath )
|
|||||||
Get-Process -Name "Windows10UpgraderApp" -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
|
Get-Process -Name "Windows10UpgraderApp" -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
|
||||||
Try { Start-Process $WIAPath -ArgumentList '/ForceUninstall' -Wait }
|
Try { Start-Process $WIAPath -ArgumentList '/ForceUninstall' -Wait }
|
||||||
Catch { Write-Error $_.Exception.Message ; Exit 1}
|
Catch { Write-Error $_.Exception.Message ; Exit 1}
|
||||||
} Else { Write-Output "No existing Windows Installation Assistant found" }
|
} Else { Write-Output "This endpoint does not have the Windows Installation Assistant installed" }
|
||||||
|
|
||||||
# URL to the Windows Installation Assistant
|
# URL to the Windows Installation Assistant
|
||||||
$URL = 'https://go.microsoft.com/fwlink/?linkid=2171764'
|
$URL = 'https://go.microsoft.com/fwlink/?linkid=2171764'
|
||||||
|
|||||||
Reference in New Issue
Block a user