From e0444aa417bdd5d9245e087891d6e0ccff96cc86 Mon Sep 17 00:00:00 2001 From: Niraj Tolia Date: Tue, 13 Dec 2022 16:19:35 -0800 Subject: [PATCH] Speed up Windows Powershell download (#1798) ## Description Don't count downloaded bytes when using Powershell's Invoke-WebRequest. This speeds up downloads. ## Type of change - [x] :bug: Bugfix - [x] :world_map: Documentation ## Issue(s) * Closes #1746 ## Test Plan - [x] :muscle: Manual --- website/docs/setup/_download_binary.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/setup/_download_binary.md b/website/docs/setup/_download_binary.md index 5997ed753..6acae6e23 100644 --- a/website/docs/setup/_download_binary.md +++ b/website/docs/setup/_download_binary.md @@ -10,7 +10,8 @@ import {Version} from '@site/src/corsoEnv'; { -`Invoke-WebRequest \` +`$ProgressPreference = 'SilentlyContinue' +Invoke-WebRequest \` -Uri https://github.com/alcionai/corso/releases/download/${Version()}/corso_${Version()}_Windows_x86_64.zip \` -UseBasicParsing -Outfile corso_${Version()}_Windows_x86_64.zip Expand-Archive .\\corso_${Version()}_Windows_x86_64.zip`