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…)
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 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 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…)
If you ever find yourself in a situation where you don’t really know where you are, I got you covered! (more…)
Doug Finke recently published a module for doing Fuzzy Searching with PowerShell. I forked his project and added code to get valued score for the results, and created a PR to his project. He suggested I publish my changes on my own, so I did. I already had a module planned for my approximate string matching algorithms, so I combined the two into one module – Communary.PASM. (more…)
I was investigating the possibility of automatically converting markdown documents into HTML, and came across this article from the Visual Studio Code documentation. It details how, using the Task Runner and a Node.js module called Marked, you could set up a task that do exactly what I was after. (more…)
For a task at work I had to create a number of users in Active Directory for a demo environment I had to set up. I didn’t really want to do this manually, and I wanted something more realistic than ‘DemoUser 01’, ‘DemoUser 02’ and so on. (more…)