Wednesday, April 3, 2013

Tail option with PowerShell

PowerShell has an option similar to the Tail command with Linux/Unix to monitor log files.  The syntax to use is:

Get-Content logfilename –Tail number of lines to return

powershell_tail

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.