Define, Develop and Deploy DSC Resources
summary
Promises a start-to-finish workflow: design with xDscResourceDesigner, test with Invoke-DscResource, then package and deploy under Program Files\WindowsPowerShell\Modules or a pull server. Shows two concrete resources built and tested: a one‑property Windows Error Reporting boolean that toggles and reports, and a two‑resource pagefile implementation (disable automatic + set initial/max) converted into class-based resources with a module manifest and pester-friendly helpers; demos run live with occasional errors but produce working modules.
AI-written summary · about
chapters (26)
- 0:00Intro
- 0:52Why do they matter
- 2:33Where to deploy
- 5:11Strategy
- 16:47Creating Functions
- 21:13Testing
- 22:42Invoked Resource
- 28:25Enabled Resource
- 30:06Creating Resources
- 33:26Saving Resources
- 34:43Creating a Configuration
- 37:04Deploying the Configuration
- 41:45ClassBased Modules
- 42:53Define a Class
- 45:41Define an Enumeration
- 46:33Convert an Existing Class Based Resource
- 46:49Class Based Resource Example
- 50:01Automatic Managed Page Example
- 50:22Creating a Class Based Resource
- 54:41verbose statements
- 55:16module manifest
- 55:59DSC resources to export
- 56:34DSC resources to manifest
- 57:34Create a DSC resource
- 58:06Test DSC resources
- 59:08Disable automatic page filing
related talks
45mDesired State Configuration (DSC) Version 3
01h 52mThe DSC project blueprint or how to start a DSC project the right way
51mDSC v3: Evolving Declarative Configuration for Modern Systems
45mWriting DSC Resources for Azure Policy Guest Configuration - For...
01h 18mBuilding DSC v3 Resources
45mSet up your dev machine in record time with WinGet and Desired State Configuration
51mPowerShell module toolbox and templates for Continuous Delivery
03h 28mEntra ID & M365 as Code with DSC
