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.

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

Related Posts

A dragon IT Architect in the shadowrun world using an Excel document and the Azure Quick Review Tool

Azure Quick Review 2.04 – High Level Assessments

With Azure Quick Review (azqr) you can quickly make a High Level Assessment of an “Azure Subscription” or “Resource Group”. Installation of Azure Quick Review You can download the files…

Spread the knowledge
Read more
A dragon IT Architect in the shadowrun world using Microsoft Tools like Windows LAPS to secure his datacenter, relaxing and watching a sitcom on TV

Securing Local Administrator Accounts with Windows LAPS: A Get Started Guide for Windows Server Environments

Managing local administrator accounts securely is a critical aspect of maintaining a robust and secure IT environment. With the introduction of the Windows Local Administrator Password Solution (LAPS) in newer…

Spread the knowledge
Read more
A dragon IT Architect in the shadowrun world using his notebook and keepassxc to safe the world from a virus attack

Securing Client Passwords with KeePassXC: A Consultant’s Guide to Autotyping and More

As consultants, managing multiple clients and their respective passwords can be a daunting task, especially when security is paramount. In this article, we will explore how KeePassXC, a powerful and…

Spread the knowledge
Read more
Windows Server 2025 Monitoring TCP/IP on http://hartiga.de

Windows Server 2025 – Monitoring TCP/IP

Monitoring open TCP/IP ports is crucial for maintaining the security and functionality of your Windows system. This article will guide you through using three powerful tools, netstat, powershell Get-NetTCPConnection and…

Spread the knowledge
Read more
Windows Admin using Winget

Easily manage Applications with WinGet v1.x

Microsoft has released WinGet, a package manager that is very well suited for installing and updating third-party applications. We are now installing applications with “WinGet” and learn how to manage…

Spread the knowledge
Read more
SFTP with Powershell Logo

Use SFTP with Powershell

If you want to use SFTP with Powershell to transfer files, you can do this with the Posh-SSH module. Installation of SFTP with Powershell To retrieve or copy data via…

Spread the knowledge
Read more