Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, tutorials, and more.

Creating a custom PowerShell v4 DSC Resource

We have touched on how to create PowerShell c4 DSC Resources briefly as we have worked our way through this book, and here, we will dive into the details of doing so in depth. We will cover the folder structures and files needed as well as the mindset and best practices necessary in order to make custom DSC Resources that are effective and useful to you.

Note

Before continuing, ensure that you are familiar with creating PowerShell v2 modules. Knowing how to create and use PowerShell modules is the key in understanding how DSC Resources are made.

The folder structure of a v4 DSC Resource

A v4 DSC Resource has a strict folder structure. By convention, each PowerShell module that contains one or more DSC Resources ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.