This article explains what to do to get rid of an error that SEEMS simple to fix but might turn out to be elusive, namely, “The term ‘yo’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or…Continue reading How to fix “yo : The term ‘yo’ is not recognized as the name of a cmdlet, function, script file, or operable program.” error?
Haha, another one of those “should’ve known it was this easy” in the books! This article explains how to include the whole certificate chain (so your “user certificate” with all the “intermediary certificates” and optionally, but not as recommended, the root certificate) in your PEM-formatted certificate. Because sometimes you just…Continue reading How to include the whole certificate chain in your .cer, .crt or .pem certificate file?
This article explains how to replace double quotes in string literal when replacing stuff in GitHub Actions using sed. Or rather, how to replace stuff with double quotes in it in GitHub Actions overall. Because it’s not as straightforward as one would think. Or maybe I’m missing something obvious here?…Continue reading How to avoid sed in GitHub Actions removing spaces from your script steps?
This article expands on my earlier article on automatically figuring out versioning in an Azure DevOps Pipeline. In the other article, you’d add Major and Minor versions as variables, and Patch (the last part of an x.y.z version scheme) would be incremented automatically. In this one, I’m describing how to…Continue reading Automatically get version number from project dependencies in Azure DevOps
Every now and then, you run into a situation where you might need an SSL (or TLS, as they nowadays usually actually are) certificate. You could always generate a self-signed one – but that won’t be trusted by anyone, so that’s no bueno. You could also order one online, even…Continue reading How to export the SSL (or TLS) certificate from a website using PowerShell?
This article explains another small but significant gotcha you “just need to know” when working with certificates and certification authorities, and you – just like me – are for some reason still using Windows as your workhorse. I’ll go through how to export the private key that has been stored…Continue reading How to export the private key from your Certificate Signing Request on Windows?
It took me something like 10 years of struggling to get remote triggers to finally fire in Azure DevOps, and in this article, I’ll share how I finally got the remote repository trigger to work for an actual Team Project in real production use (and that’s a first!) 😃 Okay,…Continue reading Working YAML sample of a remote repository CI trigger in Azure DevOps
Heh, this article is going to be another one of those “Drat, I should’ve known this” articles. But maybe it’ll be helpful for someone else as well! In this post I will explain how to get around the “Error: Invalid use of command line. Type “winrm -?” for help.” error…Continue reading winrm complaining “Error: Invalid use of command line.” – easy fix :)
This article explains how you can apply formatting and styles from a Microsoft Office Word Document Template (.dotx) to your already existing Word Document (.docx). You might want to do this if you’ve got a file with plenty of content, especially if it’s stuff that might break when copy-pasting (embedded…Continue reading How to apply a .dotx template to your existing Word files (.docx)?
Today, I’m writing about a stupid error. Yeah, I do make those every now and then. After adding a for loop to my PowerShell script, I started to get annoying ParserErrors about my for loop missing a closing bracket. But it was NOT missing one – what gives? Problem So,…Continue reading Why do you get a “Missing closing ‘)’ in expression.” error when piping a collection to a for loop in PowerShell?