GoGreen PC Tune-Up™
Learn More

Insta-Install™
this is how ssl encrypt our websites
MTNCOMP | List View | Table View | myBlog (1822 Entries)
myBlog Home

Blog


Windows tail command using PowerShell

Microsoft Windows

by Mountain Computers Inc, Publication Date: Saturday, June 21, 2025

View Count: 353, Keywords: Microsoft Windows, Tail Command, PowerShell, Hashtags: #MicrosoftWindows #TailCommand #PowerShell



The tail command is one of my most favorite commands when doing text file review and testing.
 
in the ole days, just type tail {filename} and voila!
 
now in the new  days, just type at the Power Shell prompt PS>Get-Content {filename} -tail 10
 
Get-Content [path\to\textfile.txt] -tail 10
 
Seems pretty easy and not too hard.
 
One can monitor the last lines being add by changing the command slightly:
 
Get-Content [path\to\textfile.txt] -wait
 
REF: https://serveracademy.com/blog/how-to-tail-logs-with-windows-powershell/
 
Happy Summer 2025.
 
 
more to come...
 

if you found this article helpful, consider contributing $10, 20 an Andrew Jackson or so..to the author. more authors coming soon
FYI we use paypal or patreon, patreon has 3x the transaction fees, so we don't, not yet.

© 2025 myBlog™ v1.1 All rights reserved. We count views as reads, so let's not over think it.