Easily format all files in your VS Code workspace
I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...
I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...
The Azure portal has a Service Retirement Workbook that shows all of the services you are using which are being retired within the next few years. This could...
Here I present a few ways to explore your Azure resources, for when the portal’s search and filter functionality is not enough.
I was recently invited to be a guest on The PowerShell Podcast (Podbean) (YouTube playlist) (Apple Podcasts). I had a great time talking with Andrew Pla, and...
In this post I’ll show different approaches to setting up your build and deployment workflows with GitHub Actions, as well as some pros and cons of each.
I’ve wasted countless hours troubleshooting exceptions thrown by the .NET First, Single, and SingleOrDefault methods. In this post we’ll look at why these me...
In this post we’ll see how to resolve a file or directory path, even if it does not exist.
There are 3 different approaches that can be used to define classes and enums in PowerShell. This article will compare the pros, cons, and performance of eac...
There are a lot of great PowerShell tips out there, but we often don’t proactively look for them. It’s hard to know what you don’t know, and easy to miss out...
Premature optimization may be the root of all evil, but that doesn’t mean you shouldn’t optimize your code where it matters. Rather than guessing which code ...
Developing PowerShell scripts and modules that reference classes and binary modules can be a bit painful, as in order to load a new version of the class or m...
I recently created a PowerShell script module that defines classes and enums. Everything worked fine locally, but broke when I tested the module on a build s...
In this post we see how to extend a Blazor component to show additional UI elements around it, how to override some of the default property settings, and how...
I use Oh My Posh to improve my PowerShell terminal’s prompt appearance and show additional helpful information. There are many themes to choose from, and I h...
Caching is used to improve the performance of an application. When applied properly, caches can also help increase an application’s fault tolerance, helping ...
Carnac is a free, open source, small utility that displays the keys you press on the screen. This is great for demos, presentations, and screen recordings wh...
This post is a collection of Visual Studio Code settings that I think are worth changing from their default values. This only includes native VS Code setting...
When an app running as Admin has focus, you may not be able to trigger your AutoHotkey (AHK) scripts, hotkeys, and hotstrings. This is a security feature of ...
The Windows context menu provides an Edit Script option for AutoHotkey .ahk files. Unfortunately, it defaults to opening in Notepad, which is not a great edi...
I was looking for a way to run a PowerShell script as another user in our deployment pipeline. There are many reasons you might want to do this; for me I nee...