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] 🐛 Bugfix
- [x] 🗺️ Documentation

## Issue(s)

* Closes #1746 

## Test Plan

- [x] 💪 Manual
This commit is contained in:
Niraj Tolia 2022-12-13 16:19:35 -08:00 committed by GitHub
parent a2330bc314
commit e0444aa417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ import {Version} from '@site/src/corsoEnv';
<TabItem value="win" label="Windows (Powershell)">
<CodeBlock language="powershell">{
`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`