#读取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
转载于:https://www.cnblogs.com/dreamer-fish/p/8617026.html