The performance when using
Start-RubrikDownload.ps1
Start-RubrikVMDownload.ps1
is really slow because of the way Invoke-WebRequest was implemented
It is missing a parameter to make it fast
$ProgressPreference = 'SilentlyContinue'
need to proceed the command
We are using Powershell version 5.1 that is included in this server version
Expected Behavior
By adding this parameter before
Invoke-WebRequest @WebRequestSplat
In both of the above scripts we speed up the download time by a factor of at least 40
Steps to Reproduce
Use the scripts to download a large file and measure the time (PS version 5.1 included in the server running)
Modify the scripts as follows
Original script in both cases above have at the end
Current Behavior
Expected Behavior
By adding this parameter before Invoke-WebRequest @WebRequestSplat In both of the above scripts we speed up the download time by a factor of at least 40
Steps to Reproduce
Use the scripts to download a large file and measure the time (PS version 5.1 included in the server running) Modify the scripts as follows Original script in both cases above have at the end
Changing them to
Run the scripts again and measure the time
Context
No response
Failure Logs
No response