Stream log files with Powershell

Just learned this, in case you didn’t know, on Windows you can easily stream log files with:

Get-Content -Path “C:\application.log” -Wait

If the file you are tailing already has a lot of contents, use parameter -tail to  start listening at the end of the file.

I like it, it’s a free and simple alternative that doesn’t to tools like BareTail.

Theme music for this blog post

Stream log files with Powershell