get-content
Get the content of the item at the specified location. tldr-pages
On Windows
Windows
Get the content of the item at the specified location. Note: This command can only be used through PowerShell.
Display the content of a file
Get-Content -Path path\to\fileIdentifyDisplay the first few lines of a file
Get-Content -Path path\to\file -TotalCount 10IdentifyDisplay the content of the file and keep reading from it until <Ctrl c> is pressed
Get-Content -Path path\to\file -WaitIdentify