I'm currently based in Lincoln, England due to COVID-19.
Tutorial

Get live log updates in PowerShell

Monday, 04 May 2020


I frequently find myself needing to review log files on a 'live' basis, and although there are applications out there that do this I work on different servers every day so installing an application to do this seems messy.  I found out last year that you can actually live view a log via PowerShell, so that when the file gets updated it'll obviously show you the new data in the PowerShell window instantly. 

Below is a really basic example of how you can do this, I might make it into a standalone ps1 one day but this works as-is for the time being and is super quick to do. 

Untagged