Tail for Logfiles with Windows – various options

I views a lot of log files and I always look for the functionality to use Tail for Logfiles with Windows “live” in a GUI.

Under Linux, this is very easy via “tail” and under Windows there are also several options.

My favorite tool is the CMTrace from Microsoft. This is available in every SCCM installation, but can also be extracted from an official download.

https://www.microsoft.com/en-us/evalcenter/download-microsoft-endpoint-configuration-manager

Simply unzip the file and you will find the CMTrace tool directly under \SMSSETUP\TOOLS\CMTrace.exe

Configuration Manager Trace Log Tool
Configuration Manager Trace Log Tool

An alternative Tail tool for Logfiles with Windows is LogExpert. You can find it on Github.

LogExpert Tail for Logfiles with Windows
LogExpert

For a more professional solution with more extensive functions, you can use BareTail.

Bare Tail Tail for Logfiles with Windows
Bare Tail

A solution I recently found is DisplayTool 2.2 for Windows 10 / 11 which is available here.

DisplayTool a Tail GUI for Logfiles with Windows
DisplayTool a Tail GUI

For the Commvault users among us, there is also GxTail. The Tail for Logfiles with Windows functionalities are particularly well adapted for Commvault, but I also be used for other log files.

Powershell Get-Content with -Tail for Logfiles with Windows

I use a Powershell command called Get-Content that does exactly what it is named for, because it gets the content of the file. This command has a flag or attribute called Tail that makes it equivalent to the Linux tail command.

Here is a simple tail command equivalent to the Windows PowerShell Get-Content command.

Get-Content .\directx.log -Tail 10
Powershell and Tail
Powershell and Tail

The tail command has an amazing feature that lets you monitor changes in real-time and view live logs! In this example I accomplished this by using the -f flag in Linux.

In Windows, I achieve this using the Wait flag and get a very good Tail for Logfiles with Windows experience.

An equivalent command to the Linux tail -f command in Windows PowerShell is the Get-Content command.

Get-Content .\directx.log -Tail 10 -Wait
Powershell and tail with wait
Powershell and tail with wait

In the screenshot, the cursor is at the end of the file and has not returned to the terminal to monitor or wait for additional lines!

The links to these tools and much more than Tail for Logfiles with Windows can be found here. I also maintain a German version here.

Avatar for Andreas Hartig
Andreas Hartig - MVP - Cloud and Datacenter Management, Microsoft Azure

Related Posts

WAU Happy Dragons crazy about 110 percent security

Schedule Winget Auto Updates for operational usage

Deploying Winget Auto Updates (WAU) gives you a functional update baseline, for full functionality we need to configure more to get ready for production. If servers query the Winget repository…

Read more
WAU Happy Dragons about improved security

Centralized Software Patch Management: Deploying Winget Auto Updates (WAU) via Active Directory GPO

Deploying Winget Auto Updates for Software Patch Management for managing third-party software updates across an IT infrastructure typically requires expensive enterprise solutions. This article provides a technical guide on how…

Read more
Gemini Generated Image 6s2cz6s2cz6s2cz6

Active Directory Planning Tool: Mapping Structures and Delegations with SMAD-X

Using an Active Directory Planning Tool is key for understanding complex Active Directory environments and often requires more than what traditional management consoles can provide. While tools such as Active…

Read more
Dragons looking at AccountLockout Tool

AD Account Lockout (Free Tool)

The AD Account Lockout tool is free and very valuable in troubleshooting account lockouts in Active Directory. This is a task as old as the directory service itself. Even in…

Read more
IT Architect doing Active Directory Visualization

Active Directory Visualization (Free Tools)

Designing and documenting Active Directory (AD) structures is always a long and complex exercise. Historically, this required either building full lab environments or settling for static Visio diagrams that became…

Read more
IT Operations Drache looking at Event Logs

Modern Windows Event Viewer – EventLogExpert

The project Windows Event Viewer – EventLogExpert provides a modern open-source toolset that fundamentally improves the way we interact with Windows Event Logs. Since troubleshooting .evtx files is often a…

Read more