Advanced PowerShell Desired State Configuration: Writing Custom Resources


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Writing your own custom resources is one of the most important aspects of PowerShell Desired State Configuration. In this course you'll learn about different kinds of resources and about how to write, debug, deploy, and update your own custom Resources using Windows PowerShell 4.0. This course is one of a series in the Skillsoft learning path that covers advanced PowerShell Desired State Configuration.

Target Audience
Server and workstations administrators tasked with configuring and maintaining the state of enterprise environments in a more consistent, scalable manner.

Prerequisites
None

Expected Duration (hours)
2.8

Lesson Objectives

Advanced PowerShell Desired State Configuration: Writing Custom Resources

  • start the course
  • use PowerShellGet and the PSGallery for DSC
  • configure an internal repository for DSC modules
  • connect an authoring environment to a own local DSC module repository
  • describe how DSC modules and resources work and the different types that can be created
  • create a composite-style resource that strings together existing out-of-the-box DSC resources
  • recognize how DSC modules and resources are structured in preparation for writing custom resources
  • recognize the Set DSC Resource command that performs the main resource activity
  • identify the key aspect of Set commands in DSC resources
  • recognize the Test DSC resource command that identifies the node's current state
  • recognize the Get DSC resource command that retrieves the node's current state
  • create a custom resource using the DSC Resource Designer
  • identify the various types of DSC resource parameters
  • update an existing DSC resource
  • recognize how to deploy your custom resources when using Push mode configurations
  • recognize how to deploy your custom resources when using Pull mode configurations with an SMB Pull Server
  • recognize how to deploy your custom resources when using Pull mode configurations with an HTTP Pull Server
  • identify techniques to writing DSC resources that can assist in debugging internal resource problems
  • recognize how the DSC LCM loads and caches resources
  • document custom DSC resources so that they can be better consumed by others
  • test resources while writing them to ensure they work as expected
  • recognize how to instruct a node that it requires a reboot without forcing it to do so
  • write custom DSC resources using PowerShell 5's new classes
  • write custom DSC resources using C#
  • create a custom resource using the DSC Resource Designer and then document, test, and deploy it
  • Course Number:
    os_apds_a01_it_enus

    Expertise Level
    Expert