From 9f18cc363832156f5596741f3768a315b5a35707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Mich=C3=A1lek?= Date: Fri, 15 Oct 2021 15:30:49 +0200 Subject: [PATCH] windows: speed up download of files with PowerShell by hiding status bar --- Install-RustToolchain.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Install-RustToolchain.ps1 b/Install-RustToolchain.ps1 index 25c18efa..47b440c8 100644 --- a/Install-RustToolchain.ps1 +++ b/Install-RustToolchain.ps1 @@ -6,6 +6,8 @@ param ( ) $ErrorActionPreference = "Stop" +# Disable progress bar when downloading - speed up download - https://stackoverflow.com/questions/28682642/powershell-why-is-using-invoke-webrequest-much-slower-than-a-browser-download +$ProgressPreference = 'SilentlyContinue' $ExportContent = "" #Set-PSDebug -Trace 1