读取HTML文件进行格式化解析
#读取HTML文件进行格式化解析 $html = New-Object -ComObject "HTMLFile"; $source = Get-Content -Path "file.html" -Raw; $html.IHTMLDocument2_write($xx) $html.body.innerText
#读取HTML文件进行格式化解析 $html = New-Object -ComObject "HTMLFile"; $source = Get-Content -Path "file.html" -Raw; $html.IHTMLDocument2_write($xx) $html.body.innerText