Using Everything search command line (es.exe) via PowerShell

Everything by voidtools is a great search utility for Windows. It returns almost instantaneous results for file and folder searches by utilizing the Master File Table(s). There is also a command-line version of everything (es.exe) and this post is about a wrapper I wrote in PowerShell around es.exe. The full version including full help (which … Continue reading Using Everything search command line (es.exe) via PowerShell

Convert between US and European date formats in Excel

The easiest way I know of (please let me know if you know a better way) to convert between US ("mm/dd/yy") and European ("dd/mm/yy") dates without using VBA in Excel is via "Text to Columns". Let's look at an example: My system's regional settings are setup for US dates, therefore I need to convert the … Continue reading Convert between US and European date formats in Excel

Use PowerShell to measure the time to download a file

It is actually surprisingly easy to measure how long it takes to download a file with PowerShell. Let's look at an example: My internet speed is according to speedtest.net around 4.2 Mbps (megabits/second). If I would like to know how long it takes me to download a file of 1GB I can use a simple … Continue reading Use PowerShell to measure the time to download a file

“Please wait while windows configures Microsoft Visual Studio…” when starting Excel

I got this dialog ("Please wait while windows configures Microsoft Visual Studio Professional 2013") on every Excel (2010) start up shortly after I had installed Visual Studio 2013 Community Edition. In my case it delayed the Excel start-up for several minutes. In order to get rid of the quite annoying dialog I just created a … Continue reading “Please wait while windows configures Microsoft Visual Studio…” when starting Excel

PowerShell and the “missing” ternary operator

People switching to PowerShell from other languages like JavaScript or C# might be looking for a ternary operator at one point. While there is no built-in ternary operator in PowerShell it is not too hard to come up with something that comes pretty close to it. Let's look at an example: This defines a (admittedly … Continue reading PowerShell and the “missing” ternary operator

Waiting for elements presence with Selenium Web driver

Selenium is a great way to automate browsers for testing or scraping purposes. One thing that is missing when using the driver via PowerShell is an easy way to specify an explicit wait for methods on the driver. This is useful if you would like to call a method on an element but don't know … Continue reading Waiting for elements presence with Selenium Web driver

Group-Object “Wildcard characters are not allowed in …”

I recently came across a situation where I wanted to group a custom object based on a property that contained a question mark. Running the above resulted in the error message "group : Wildcard characters are not allowed in "test?".". To make Group-Object work with the property name that contains a wildcard character the property … Continue reading Group-Object “Wildcard characters are not allowed in …”