spjeff / spbestwarmup

Tired of waiting for SharePoint pages to load? Want something easy to support? That works on all versions? This warmup script is for you!
2 stars 0 forks source link

Lots of iexplorer.exe instances #28

Closed R-oberto closed 3 years ago

R-oberto commented 3 years ago

I had tried removing the -UseBasicParsing from the Invoke-WebRequest commands, but it has a bad side effect. It seemed to work fine, but I noticed after months of running it that instances of iexplorer.exe don't close properly after the command uses it internally. The effect was that I had around 40 instances that don't terminate. The number possibly just keep growing until the server is rebooted.

So, keep that switch on those statements to avoid having the commandlet using IE internally and have this issue.

spjeff commented 3 years ago

Best to use PS1 as-is. I noticed the same and that's why have -UseBasicParsing. Also faster.