Remove -Resume parameter from Invoke-Webrequest commands in task setup
#880
Labels
🧑💻 DX
Developer experience problem
task setup
#880
In #850 I used the Powershell command
Invoke-WebRequest -Resume
, which was introduced in Powershell 6.1. I did not realize that even on Windows 11, the Powershell version that ships with the OS is Powershell 5.1, and to get the latest version of Powershell 6 or higher (currently 7.4) you need to download an .msi file from GitHub. (Also, the command name changed frompowershell
topwsh
).We need to either:
-Resume
part of the Invoke-WebRequest command (and skip running it if the .zip file matches a checksum, making the setup-win script more complicated but able to run on powershell 5.1), orThe text was updated successfully, but these errors were encountered: