CloudAcademy

Using PowerShell DSC on Windows

The hands-on lab is part of these learning paths

Architecting Microsoft Azure Solutions: 70-535 Exam Preparation
course-steps 10 certification 5 lab-steps 5
Implementing Microsoft Azure Solutions–70-533 Certification Preparation
course-steps 15 certification 1 lab-steps 8 quiz-steps 8

Lab Steps

keyboard_tab
lock
Logging into the Microsoft Azure Portal
lock
Connecting to the Virtual Machine (RDP)
lock
Reviewing PowerShell DSC Concepts
lock
Setting Up a PowerShell DSC Pull Server
lock
Serving Configurations on the DSC Pull Server
lock
Setting Up a DSC Node to Pull Its Configuration

Ready for the real environment experience?

DifficultyIntermediate
Duration1h 20m
Students623

Description

Lab Overview

Using PowerShell DSC on WindowsPowerShell Desired State Configuration (DSC) allows you to declare the desired state of a node's configuration and PowerShell DSC will make it so. You don't have to specify the steps required to arrive at the desired state. Resources automatically do all the heavy lifting to take the node to the desired state. Using PowerShell DSC on Windows, you will configure two Windows servers:

  1. A PowerShell DSC web pull server hosting configuration files
  2. A PowerShell DSC node that pulls its configuration from the pull server

Lab Objectives

Upon completion of this Lab you will be able to:

  • Understand key PowerShell DSC concepts
  • Configure Windows systems using PowerShell DSC
  • Set up a PowerShell DSC pull server
  • Write PowerShell DSC configurations
  • Set up a pull mode PowerShell DSC node

Lab Prerequisites

You should be familiar with:

  • Microsoft Windows operating system basics
  • PowerShell basics are beneficial, but not required

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

 

After completing the Lab instructions, the environment should look similar to:

About the Author

Students10222
Labs68
Courses7
Learning paths4

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Linux Foundation Certified System Administrator (LFCS). He earned his Ph.D. studying design automation and enjoys all things tech.