PowerShell Log File Viewer

Just a quick post today with a great tip for viewing log files with Powershell.

Get-Content .alltheerrors.log -wait

This command shows the content of the file line by line, and the -wait switch updates the output whenever the log file is saved, giving you a live feed of logged info.

Continue reading “PowerShell Log File Viewer”

Create a website or blog at WordPress.com

Up ↑