I\'ve got a powershell script that monitors a log file, filters out the interesting bits and then presents those bits to me as and when they are written to the file. Works w
Try
Get-Content $logFile -Wait | Select-String $searchTerm | ForEach {write-host -ForegroundColor red $_.line}