When creating Azure Resource Group projects, a PowerShell file is added to the project. The intended use of this file is to be used to deploy the Resource Group both locally and in a pipeline. This file is called Deploy-AzureResourceGroup. But at over 200 lines long, there seems to be quite a lot going on. And what exactly is going on?

In short, it’s a helpful file, but tries to be all things to all people, with very little documentation. Over the next few months, I’m going to pick through this file to help understand what this file is doing. I’m going to use a git repo to demonstrate how it works, and I intend each link to be a point in time commit. We will see how this turns out.

Hopefully it will not change too much. The last change was back in April 2019. I’m going to try and keep this gist up-to-date.