Stream log files with Powershell

Just learned this, in case you didn’t know, on Windows you can easily stream log files with:

Get-Content -Path “C:\application.log” -Wait

If the file you are tailing already has a lot of contents, use parameter -tail to  start listening at the end of the file.

I like it, it’s a free and simple alternative that doesn’t to tools like BareTail.

Theme music for this blog post

Stream log files with Powershell

How to restore Search box in Test Explorer of Visual Studio

Every so often when launching Visual Studio 2015, I have an issue where the Test Explorer doesn’t display its Search box.

vs-text-explorer-missing

Restarting Visual Studio fixes this, but for anything but small projects, closing and reopening the Solution is a time waster.

Perhaps this is obvious, but you can fix this quickly without restarting by just dragging the Test Explorer to undock it.

vs-text-explorer-drag-and-dock-to-restore

After that just dock it again, problem fixed, no restart required.

Theme music for this blog post

 

How to restore Search box in Test Explorer of Visual Studio