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…)
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…)
Most users are probably happy with the default PowerShell prompt. But there are a handful of people that are not satisfied with any product unless they have had a chance to customize it to their needs. Luckily PowerShell supports defining your own prompt quite easily. Then there are another few that for some reason likes to have multiple prompts that they alternate between. Perhaps they have one for home, one for work and another one when they are presenting at usergroups and conferences. (more…)
Many of you will probably manage to figure out the meaning of each of these words as they relate to me, but what do they all have in common? (more…)
In Windows 10, Microsoft have finally made some good additions to the console application. But there is still rooms for improvements. You have the option to change the console font, but they have made it really awkward to add additional fonts to the font list. (more…)