PowerShell 5.0 and Desired State Configuration Eğitimi

  • Eğitim Tipi: Classroom / Virtual Classroom / Online
  • Süre: 2 Gün
Bu eğitimi kendi kurumunuzda planlayabilirsiniz. Bize Ulaşın!

This courseis 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!

This course can also be sat as a combined event with M10962 'Advanced Automated Administration with Windows PowerShell' via course QAMSPOWSH 'Advanced Automated Administration with Windows PowerShell, PowerShell 5.0 and Desired State Configuration'

The students are expected to understand the basics of PowerShell.

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

Module 1: Course Overview

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Introduction
  • Course Materials
  • Facilities
  • Prerequisites
  • What We'll Be Discussing


Lab : Course Overview

Module 2: PowerShell 5.0 Desired State Configuration Introduction

In this module, we explain Desired State Configuration (DSC), the concepts needed to understand the basics of how it works and discuss the features added in the two latest versions.

Lessons

  • Understanding Desired State Configuration
  • Understanding DSC Metaphor
  • PowerShell is Imperative, or Declarative, or Both?
  • Exploring DSC from 30,000 Feet!
  • Examining Why to Put Effort into DSC (Or Inspire Me Dude)?
  • Understanding DSC Requirements
  • Examining PowerShell Version 4: DSC Features Added
  • Exploring PowerShell Version 5: DSC Improvements


Lab : PowerShell 5.0 Desired State Configuration Introduction

Module 3: DSC Architecture

DSC utilizes DSC resources to determine whether or not the current state of the node matches the expected state, and those resources know how to change the current state to the expected state. Before we start to write configuration files and utilize resources, we are going to explore the two models of management, review MOF file creation workflows, and look at different methods of configuring data.

Lessons

  • Taking a Preliminary Look
  • Updating the Help System
  • Exploring Management Models
  • Reviewing the MOF File Creation Workflow
  • Examining Methodologies of Configuration Data
  • Exploring Functions and Cmdlets Available for DSC with WMF 5.0
  • Understanding DSC Pull Server


Lab : DSC Architecture

  • Let’s Allow PowerShell to Help Us!
  • Create A Sample Configuration File and Compile it into an MOF
  • Simple Deployment of MOF File to Change LCM Settings


Module 4: DSC Configuration Files

In this module, we will examine the process to create configuration files and utilize them.

Lessons

  • Preparing the Environment
  • Defining a DSC Configuration Script
  • Configuration Keyword


Lab : DSC Configuration Files

  • Getting IntelliSense for the Parameters Working
  • Using Resources
  • Examine Node Filtering
  • Expand Filtering in Your Configuration File


Module 5: DSC Resources

In this module, we will discuss and utilize DSC Resources.

Lessons

  • Examining File Resource
  • Exploring Archive Resource
  • Examining Environment Resource
  • Exploring Group Resource
  • Examining Log Resource
  • Understanding Package Resource
  • Examining Registry Resource
  • Exploring Script Resource
  • Examining Service Resource
  • Exploring User Resource
  • Examining WindowsFeature Resource
  • Understanding PsDscRunAsCredential


Lab : DSC Resources

  • Utilize the DSC File Resource
  • Utilize the DSC Archive Resource
  • Utilize the DSC Environment Resource
  • Utilize the DSC Group Resource
  • Enable the Analytic Log
  • Utilize the DSC Log Resource
  • Utilize the DSC Registry Resource
  • Utilize the DSC Script Resource
  • Utilize the DSC Service Resource
  • Utilize the DSC User Resource
  • Utilize the DSC WindowsFeature Resource


Module 6: DSC Pull and Push Servers

In this module, we will discuss parameters, examine both push and pull models, and explore configurations and debugging.

Lessons

  • Discussing Parameters
  • Examining a Push Mode Example
  • Exploring the Pull Mode
  • Reviewing the Local Configuration Manager (LCM)
  • Placing Configurations and Resources for Distribution by the Pull Server
  • Discussing Configuration Drift
  • 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


Module 7: Appendix: PowerShell 5.0 Basics

This module isintended as a basic tutorial, or refresher for students attending the course it is attached to. You will find this appendix in many of our PowerShell courses.

Lessons

  • Introduction to PowerShell
  • Utilizing PowerShell
  • The Pipeline
  • Processing Data with Loops
  • Scripting and Functions


Lab : Appendix: PowerShell 5.0 Basics



Eğitimlerle ilgili bilgi almak ve diğer tüm sorularınız için bize ulaşın!

Yakın tarihte açılacak eğitimler

Sınıf eğitimlerimizi İstanbul, Ankara ve Londra ofislerimizde düzenlemekteyiz. Kurumunuza özel eğitimleri ise, dilediğiniz tarih ve lokasyonda organize edebiliriz.

Classroom / Virtual Classroom
07 Mayıs 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
14 Mayıs 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
27 Mayıs 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
06 Haziran 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
12 Haziran 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
19 Temmuz 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
23 Temmuz 2024
İstanbul, Ankara, Londra
2 Gün
Classroom / Virtual Classroom
07 Eylül 2024
İstanbul, Ankara, Londra
2 Gün
Sitemizi kullanarak çerezlere (cookie) izin vermektesiniz. Detaylı bilgi için Çerez Politika'mızı inceleyebilirsiniz.