Chapter 4. DSC Resources
In this chapter, we will learn the definition and syntax of a DSC Resource. This entails both the code/syntactic elements as well as the folder structure and placement. We will spend significant time covering the purpose of a DSC Resource and best practices for developing custom DSC Resources; we'll do this by showing examples of badly authored DSC Resources and working on them until they are well-defined DSC Resources. We will then explain v5 DSC Resource differences and how you should handle them compared to their v4 counterparts.
In this chapter, we will cover:
- What are DSC Resources?
- How do you find DSC Resources?
- Creating a PowerShell v4 DSC Resource
- Creating a PowerShell v5 DSC Resource