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…)
Category: PowerShell
2016 in review and a peek at 2017
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…)
Quick tip: Access local environment variables
Just a quick tip on how to get and set environment variables using PowerShell, compared to how it is done in DOS. (more…)
Quick tip: Open explorer at location
If you need to open Windows Explorer from your current location while working in PowerShell, simply use this command: (more…)
Using custom Functions and Types in PowerShell Runspaces
ConsoleExtensions update – now with more colors!
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…)
Test-WebRequest
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…)
A review of the answers to the Digit Sum Code Golf
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…)
Communary.ConsoleExtensions
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…)
Get-GeoLocation
If you ever find yourself in a situation where you don’t really know where you are, I got you covered! (more…)