Setting up a PowerShell CI Pipeline using Gitlab

I have been doing a lot of PowerShell work over the past six month for a big internal project. This encouraged me to do some open source PowerShell work, and ultimately resulted in me setting up a CI pipeline for my open source PowerShell modules. The pipeline is responsible for…

Levenshtein Distance and Luhn Validation in PowerShell

Recently i needed a rudimentary algorithm that could give me the edit distance between two strings. Usually, when i do this type of thing i throw together a quick script that gets thrown away once i am done with it. This time, i decided to turn this into a side…

One Line of Code Could Have Prevented the eThekwini Leak

The dust has settled on the eThekwini Municipality blunder so I thought I would take a minute and do a post on how they could have prevented leaking that data in the first place, and as you can imagine it’s not that difficult. There are actually tons of things…

The eThekwini eServices Website Leaks Your Personal Data

The eThekwini Municipality recently updated the eServices website. The first problem I noticed is that they emailed all users their usernames and passwords, which meant they are storing our data in plain text. This prompted me to investigate further. What I found was shocking, by changing a single portion of…

Finding Installed .Net Versions

There are a few different ways to find what versions of the .Net framework you have installed. I did a bit of searching and it seems as though most applications and scripts use the registry but some query the file system as well. You will also find many of the…

PowerShell and Potatoes

Someone recently asked me what the quickest way of moving all of your "wanted" movies from one intance of CouchPotato to another was. I didnt have an answer off hand, but i checked it out when i got home and came up with a quick PowerShell script that seems to…