If you don’t disable the progress bar when downloading a file using Invoke-WebRequest
on Windows PowerShell, it will take significantly longer to download.
To disable it run the below:
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest <params>
The $ProgressPreference
variable will only last as long as the current PowerShell session.