Timing Invoke-WebRequest Is Slower in Console than ISE
We are running a home-grown internet speedtest using a PowerShell script. When running the script in ISE on fast network connections (100mbps+), the Invoke-WebRequest commands run fast enough to reflect 100mbps. However, when the script is run through console, the Invoke-WebRequest is restricted and reports speeds of only 25mbps. How can the console be configured to run with the same resources as ISE?
FYI, this is not an issue for slower networks. Only fast networks seem to expose the console bottleneck.
Other users have brought up this issue previously, but no fix was discovered: https://www.reddit.com/r/sysadmin/comments/5ylzuu/powershell_speedtest_fast_in_ps_ise_slow_in/