Please extend the Invoke-WebRequest commands (lines 595 & 598) with -UseBasicParsing
This will prevent batch and service jobs from failing.
The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch
configuration is not complete. Specify the UseBasicParsing parameter and try again.
Please extend the Invoke-WebRequest commands (lines 595 & 598) with -UseBasicParsing This will prevent batch and service jobs from failing.
The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
KR, Hans