This blog post is not so much about Azure and the Cloud, but more about some fundamentals regarding structuring and deploying your own PowerShell modules.
When working with Azure or a Windows infrastructure, you’ll run into a situation when you realize you’ll need your own set of tools, scripts and modules. You’ll soon also realize that you want to have them easily packaged and distributed within your team and/or to your customers.
For this purpose we have created PSScaffold. It’s a toolkit containing functions to build the necessary directory structure, module manifest
and other files that are needed for a complete PowerShell module (and build pipeline if that is wanted as well).
For some guidance on how to create your own PowerShell module repository to be used with one of the deploy functions, see this blog post I wrote on the subject.