Cmdlet
Get-Content cmdlet用于读取html文件的内容。
在本例中,我们读取test.html.
Get-Content D:\temp\test\test.html
输出
我们可以在PowerShell控制台中看到以下输出。
<html>Welcome to onitroad</html>
日期:2019-08-20 13:51:04 来源:oir作者:oir
Get-Content cmdlet用于读取html文件的内容。
在本例中,我们读取test.html.
Get-Content D:\temp\test\test.html
我们可以在PowerShell控制台中看到以下输出。
<html>Welcome to onitroad</html>