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

Two IT dragons discussing about Proton Pass and all its connections to manage passwords

Managing passwords with Proton Pass

Managing passwords with Proton Pass changed my password management and thus my backbone to manage my IT setup efficiently and secure. For years, local password managers like KeePassXC have been…

Read more
The LAPS Modernization Maturity Levels

Unifying Local Credential Security – Legacy LAPS, Windows LAPS, and Azure Arc in Practice

Local Credential Security – Managing local administrator credentials across an enterprise fleet has always been a fundamental security control. For years, Microsoft Local Administrator Password Solution (often called Legacy LAPS…

Read more
the IT Operations dragon looking at multiple screens with Group Policies on them and the GPO Policy Analyzer checking them all

How to use the GPO Policy Analyzer

Managing Group Policy Objects across a complex Active Directory environment has always been a challenge. Administrators often inherit hundreds of GPOs with overlapping configurations, stale settings, and hidden conflicts. Finding…

Read more
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
Active Directory Planning Tool: Mapping Structures and Delegations with many IT dragons at a conference table discussing it

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