By default, Invoke-WebRequest relies on Internet Explorer components to parse the html (user retrieves it via the .parsedhtml property), however in Azure Functions and Containers, IE is not present so if -UseBasicParsing is not specified, you get an error saying that IE is not installed.
Expected behavior is for Invoke-WebRequest to default to -UseBasicParsing if IE is not present (perhaps output a warning if that switch is not specified as ParsedHtml property will be null)
By default, Invoke-WebRequest relies on Internet Explorer components to parse the html (user retrieves it via the .parsedhtml property), however in Azure Functions and Containers, IE is not present so if -UseBasicParsing is not specified, you get an error saying that IE is not installed.
Expected behavior is for Invoke-WebRequest to default to -UseBasicParsing if IE is not present (perhaps output a warning if that switch is not specified as ParsedHtml property will be null)