The Start and End of a File: -TotalCount, -Tail and -Wait
Get-Content -TotalCount shows only a file's first lines and -Tail only its last, and -Wait keeps a file open on screen so every line added to it appears as it's written, until Ctrl+C stops it.
Updated

- Category
- PowerShell
- Level
- Apprentice
- Tags
- get-content, log-file, operating-system, powershell