From 7cf913ff2e0a8681538808fcab2e46fb084d6fcd Mon Sep 17 00:00:00 2001 From: William H Date: Tue, 27 Nov 2018 20:57:16 -0500 Subject: [PATCH] feat(perf): Invoke-WebRequest much slower then browser download (#4294) --- extensions/windows-patches/v1/installPatches.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/windows-patches/v1/installPatches.ps1 b/extensions/windows-patches/v1/installPatches.ps1 index 9b8cca6a46..fd77f30ad8 100644 --- a/extensions/windows-patches/v1/installPatches.ps1 +++ b/extensions/windows-patches/v1/installPatches.ps1 @@ -12,7 +12,8 @@ param( function DownloadFile([string] $URI, [string] $fullName) { try { - Write-Host "Downloading $URI" + Write-Host "Downloading $URI" + $ProgressPreference = 'SilentlyContinue' Invoke-WebRequest -UseBasicParsing $URI -OutFile $fullName } catch { Write-Error $_