TMW04 Creating Class-Based PowerShell Tools


9:30am - 10:45am

Level: Intermediate to Advanced

Jeffery Hicks

PowerShell MVP

Senior Technology Fellow

JDH IT Solutions

One of the primary reasons classes were introduced into PowerShell 5.0 was to support custom Desired State Configuration (DSC) resources. Using a class, it is much easier to create your own DSC resources. PowerShell MVP Jeff Hicks will walk you through the process of creating a custom class–based resource, including best practices and patterns as well as deployment tips and "gotchas." This will be a demo–heavy session you won't want to miss.

You will learn:

  • How PowerShell classes work
  • How to create a class–based DSC resource
  • Best practices and design patterns for class–based DSC resources