Skip to content

Invoke-WebRequest errors if Internet Explorer is not installed #3042

@SteveL-MSFT

Description

@SteveL-MSFT

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)

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-Won't FixThe issue won't be fixed, possibly due to compatibility reason.WG-Cmdletsgeneral cmdlet issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions