Visual Studio has a built-in EditorConfig editor
Somehow I missed it, but for years Visual Studio has had a built-in EditorConfig editor. I would typically edit my .editorconfig file in VS Code using just t...
Somehow I missed it, but for years Visual Studio has had a built-in EditorConfig editor. I would typically edit my .editorconfig file in VS Code using just t...
Performing retries to make your code more resilient is a common pattern. By leveraging a PowerShell ScriptBlock, we can create a function to avoid constantly...
There are a lot of different windows for configuring various settings in Windows. Unfortunately, finding the right window is not always easy. The Windows Set...
Code formatting can be a very personal choice. Some languages are very strict and enforce specific indentation and brace styles, while many others allow for ...
I spin up new PowerShell scripts all the time, whether just for quickly experimenting and testing things out, or for projects that I know will be around for ...
I’m sitting in the airport waiting for my return flight after what has been an awesome week at the PowerShell + DevOps Global Summit 2024, North American edi...
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...