Powershell - Read HTML File


Advertisements

Cmdlet

Get-Content cmdlet is used to read content of a html file.

In this example, we're reading content of test.html.

Get-Content D:\temp\test\test.html 

Output

You can see following output in PowerShell console.

<html>Welcome to TutorialsPoint</html>
powershell_files_io.htm
Advertisements