Update Invoke-WebRequest
to Start-BitsTransfer
To run `Invoke-WebRequest` you have to have the Internet Explorer Feature enabled, which some people may not. `Start-BitsTransfer` is a drop in replacement which doesn't need you to have internet explorer enabled.
This commit is contained in:
parent
32721bbc83
commit
073351a02a
|
@ -45,7 +45,7 @@ Set-ExecutionPolicy RemoteSigned
|
|||
Then, you can run:
|
||||
|
||||
```ps
|
||||
Invoke-WebRequest https://git.io/rustlings-win | Select-Object -ExpandProperty Content | Out-File $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1
|
||||
Start-BitsTransfer https://git.io/rustlings-win | Select-Object -ExpandProperty Content | Out-File $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1
|
||||
```
|
||||
|
||||
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.
|
||||
|
|
Loading…
Reference in a new issue