HtmlWebResponseObject.ParsedHtml replacement in Powershell Core 6
问题 My goal is to parse an html file retrieved with Invoke-WebRequest . If possible I'd like to avoid any external libraries. The problem I am facing is, that Invoke-WebRequest returns a BasicHtmlWebResponseObject instead of a HtmlWebResponseObject since Powershell 6. The Basic version misses the ParsedHtml property. Is there a good alternative to parse html in Powershell Core 6? I've tried to use Select-Xml but my html is not entirely valid (e.g. a missing closing tag), hence this fails to parse