Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

"Charting the Course ...

... to Your Success!"

MOC 55202 A: PowerShell 5.0 and Desired State Configuration

Course Summary

Description

Course 55202 is designed to get you up and running with Desired State Configuration (DSC). PowerShell
DSC was introduced in version 4 and has been greatly expanded and enhanced in version 5. DSC goes
hand-in-glove with implementation of DevOps the revolutionary methodology to join the development and
operations teams. Now you can “declare” your desired environment and the DSC structure will “make it
so” and keep it so!

Objectives

At the end of this course, students will be able to:


 Understand Desired State Configuration.  Understand and utilize the DSC
 Understand that PowerShell handles both Environment Resource.
imperative and declarative language.  Understand and utilize the DSC Group
 Understand DSC requirements. Resource.
 Understand features added to version 4 of  Understand and enable the Analytic Log.
PowerShell.  Understand and utilize the DSC Log
 Understand features added to version 5 of Resource.
PowerShell.  Understand and utilize the DSC Registry
 Understand and execute updating the Resource.
Help System.  Understand and utilize the DSC Script
 Understand management models. Resource.
 Understand and utilize MOF file creation  Understand and utilize the DSC Service
workflow. Resource.
 Understand methodologies of  Understand and utilize the DSC User
configuration data. Resource.
 Understand functions and cmdlets  Understand and utilize the DSC
available for DSC with WMF 5.0. WindowsFeature Resource.
 Understand the basics of a DSC Pull  Understand and utilize parameters.
Server.  Understand both Push and Pull modes.
 Understand how to get the parameters  Understand and utilize the LCM.
working for IntelliSense.  Understand placing configurations and
 Understand how to define a DSC resources for distribution.
configuration script.  Understand configuration drift.
 Understand how to utilize resources.  Understand and utilize the debugging
 Understand and utilize the Configuration feature.
keyword.  Understand how to utilize PowerShell.
 Understand node filtering.  Understand and utilize the pipeline.
 Understand and utilize the DSC File  Understand and utilize loops.
Resource.  Understand and utilize scripting.
 Understand and utilize the DSC Archive  Understand and utilize functions.
Resource.

Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for
informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these
names generically
"Charting the Course ...

... to Your Success!"

MOC 55202 A: PowerShell 5.0 and Desired State Configuration

Course Summary (cont’d)

Topics

 Course Overview  DSC Configuration Files


 PowerShell 5.0 Desired State  DSC Resources
Configuration Introduction  DSC Pull and Push Servers
 DSC Architecture

Audience

This is considered a skillset that all operations team need to master, and all developers should be familiar
with the technology so they can develop DSC Resources to be used in deploying their software.

Prerequisites

The students are expected to understand the basics of PowerShell either through attending introductory
courses or having gained the experience through some other method.

Duration

Two days

Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for
informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these
names generically
"Charting the Course ...

... to Your Success!"

MOC 55202 A: PowerShell 5.0 and Desired State Configuration

Course Outline
I. Course Overview B. Updating the Help System
This module explains how the class will be C. Exploring Management Models
structured and introduces course materials and D. Reviewing the MOF File Creation
additional administrative information. Workflow
A. Introduction E. Examining Methodologies of
B. Course Materials Configuration Data
C. Facilities F. Exploring Functions and Cmdlets
D. Prerequisites Available for DSC with WMF 5.0
E. What We'll Be Discussing G. Understanding DSC Pull Server
Lab : Course Overview Lab : DSC Architecture
 Let’s Allow PowerShell to Help Us!
II. PowerShell 5.0 Desired State  Create A Sample Configuration File
Configuration Introduction and Compile it into an MOF
In this module, we explain Desired State  Simple Deployment of MOF File to
Configuration (DSC), the concepts needed to Change LCM Settings
understand the basics of how it works and
discuss the features added in the two latest IV. DSC Configuration Files
versions. In this module, we will examine the process to
A. Understanding Desired State create configuration files and utilize them.
Configuration A. Preparing the Environment
B. Understanding DSC Metaphor B. Defining a DSC Configuration Script
C. PowerShell is Imperative, or C. Configuration Keyword
Declarative, or Both? Lab : DSC Configuration Files
D. Exploring DSC from 30,000 Feet!  Getting IntelliSense for the
E. Examining Why to Put Effort into DSC Parameters Working
(Or Inspire Me Dude)?  Using Resources
F. Understanding DSC Requirements  Examine Node Filtering
G. Examining PowerShell Version 4:  Expand Filtering in Your Configuration
DSC Features Added File
H. Exploring PowerShell Version 5: DSC
Improvements V. DSC Resources
Lab : PowerShell 5.0 Desired State In this module, we will discuss and utilize DSC
Configuration Introduction Resources.
A. Examining File Resource
III. DSC Architecture B. Exploring Archive Resource
DSC utilizes DSC resources to determine C. Examining Environment Resource
whether or not the current state of the node D. Exploring Group Resource
matches the expected state, and those E. Examining Log Resource
resources know how to change the current state F. Understanding Package Resource
to the expected state. Before we start to write G. Examining Registry Resource
configuration files and utilize resources, we are H. Exploring Script Resource
going to explore the two models of I. Examining Service Resource
management, review MOF file creation J. Exploring User Resource
workflows, and look at different methods of K. Examining WindowsFeature Resource
configuring data. L. Understanding
A. Taking a Preliminary Look PsDscRunAsCredential
Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for
informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these
names generically
"Charting the Course ...

... to Your Success!"

MOC 55202 A: PowerShell 5.0 and Desired State Configuration

Course Outline (cont’d)


Lab : DSC Resources VII. Appendix: 752552 PowerShell 5.0
 Utilize the DSC File Resource Basics
 Utilize the DSC Archive Resource This appendix is a subset of BlueBuffaloPress
 Utilize the DSC Environment course 752552 with all of the labs removed. It is
Resource intended as a basic tutorial, or refresher for
 Utilize the DSC Group Resource students attending the course it is attached to.
 Enable the Analytic Log You will find this appendix in many of our
 Utilize the DSC Log Resource PowerShell courses.
 Utilize the DSC Registry Resource A. Introduction to PowerShell
B. Utilizing PowerShell
 Utilize the DSC Script Resource
C. The Pipeline
 Utilize the DSC Service Resource
D. Processing Data with Loops
 Utilize the DSC User Resource E. Scripting and Functions
 Utilize the DSC WindowsFeature Lab : Appendix: 752552 PowerShell 5.0
Resource Basics
VI. DSC Pull and Push Servers
In this module, we will discuss parameters,
examine both push and pull models, and explore
configurations and debugging.
A. Discussing Parameters
B. Examining a Push Mode Example
C. Exploring the Pull Mode
D. Reviewing the Local Configuration
Manager (LCM)
E. Placing Configurations and Resources
for Distribution by the Pull Server
F. Discussing Configuration Drift
G. Debugging DSC in Version 5
Lab : DSC Pull and Push Servers
 Create a Pull Server
 Set Up the LCM
 Distribute an MOF Via the Pull Server
 DSC Fixes Things!
 Test the Debug Feature

Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for
informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these
names generically

You might also like