Watch a log file Powershell

get-content <path to file> -wait

E.G

get-content C:\ProgramData\chocolatey\logs\choco.summary.log -wait

Leave a Reply