Calculating checksums are perhaps not the first thing you would think of needing to do in PowerShell. But if you ever are in a situation that you need to calculate a checksum using the CRC32 algorithm, I got you covered with this small function. (more…)
It seems that most solutions for setting up git to work through a proxy server depends on installing cygwin and using corkscrew. Having a need to get this set up at a customer, I really didn’t want to install cygwin just for this. Let me explain my setup that works without cygwin/corkscrew. (more…)
Last year WordPress created ready-made years end summaries for its hosted blogs, but alas this year I have to do it myself 🙂 Let’s take a look at 2016 and compare it to my post from last January as well as try to make some predictions and goals for 2017. (more…)
Just a quick tip on how to get and set environment variables using PowerShell, compared to how it is done in DOS. (more…)
If you need to open Windows Explorer from your current location while working in PowerShell, simply use this command: (more…)
When working on improving the performance of a PowerShell script, going from a single threaded to a multi threaded script will almost certainly give you a good performance boost. Boe Prox have an excellent module for this, called PoshRSJob which you can download from the PowerShell Gallery. (more…)
In the latest preview build of Windows 10 (14931) the console have been updated to (finally) support more colors! I have updated my Console Extensions module. Read on to learn about the new features. (more…)
If you need to verify a web address, it’s natural to look into Invoke-WebRequest, capturing the results and check the StatusCode if the request was successful. There is just one problem… (more…)
I recently created a Code Golf challenge at www.code-golf.com called Digit Sum. At the time of writing this blog post, the challenge have gotten 14 answers, and I think it’s time to review the answers and crown a winner! (more…)
I decided to collect some of my functions intended to be used when working in the PowerShell console into one module.
I’d like to introduce my 4th PowerShell module published to the PowerShell Gallery; Communary.ConsoleExtensions.
Note that the module ‘PowerShellHumanizer‘ (also on the Gallery) are needed for this module! (more…)