Full text search using PowerShell, Everything, and Lucene

Searching for files is something everyone does on a very regular basis. While Windows is consistently changing the way this is done with every new operating system, the built-in functionality is still far from being sufficient. Therefore, I'm always looking for methods on how to improve this (you can also find several blog posts in … Continue reading Full text search using PowerShell, Everything, and Lucene

Get help for Windows built-in command-line tools with PowerShell

One of the reasons I like PowerShell is its built-in help system (here is a nice post in case you don't know how to use PowerShell's built-in help). E.g.: In fact, once you get comfortable using PowerShell help aka Get-Help, you start missing similar built-in documentation for other tools/scripting languages. Wouldn't it be nice if … Continue reading Get help for Windows built-in command-line tools with PowerShell

Reporting against Pester test results

Pester is (for very good reasons) getting more and more popular. If you don't know about Pester I would highly recommend you to start using it. Here are some good resources to learn about the framework: Test-Driven Development with Pester (June Blender) Pester in Action Part 1: Pester Basics PowerShellMagazine articles about Pester In this … Continue reading Reporting against Pester test results

PowerShell tricks – Open a dialog as topmost window

Windows.Forms provides easy access to several built-in dialogs (see MSDN: Dialog-Box Controls and Components). Here is an usage example to show a "FolderBrowse" dialog: While this works as expected, the dialog won't show up as the topmost window. This could lead to situations where users of your script might miss the dialog or simply complain … Continue reading PowerShell tricks – Open a dialog as topmost window