Microsoft PowerShell

Using PowerShell for “head” and “tail” Operations

Reading Time: < 1 minute

This discussion is going to be straight forward with examples.

get-content log.txt -Tail 10
get-content log.txt -wait
gc log.txt | select -first 10
gc log.txt -tail 10 -wait

Related posts

Windows Certificate of Authority


Install the Azure CLI

Tom Hamilton

Installing SCCM – part 1

Tom Hamilton