Skip to content

Commit

Permalink
feat(perf): Invoke-WebRequest much slower then browser download (Azur…
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus authored and PatrickLang committed Nov 28, 2018
1 parent ee2aae1 commit 7cf913f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/windows-patches/v1/installPatches.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 $_
Expand Down

0 comments on commit 7cf913f

Please sign in to comment.