Advanced Automated Administration with Windows PowerShell, PowerShell 5.0 and Desired State Configuration

5 Day Course
Hands On
Code QAMSPOWSH

Book Now - 1 Delivery Method Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Overview

This specially tailored five day course combines the the two Microsoft courses M10962 'Advanced Automated Administration with Windows PowerShell' and M55020 'PowerShell 5.0 and Desired State Configuration'. The first three days of this course, expands and builds upon the knowledge already acquired in course M10961 'Automating Administration with Windows PowerShell2 and focuses on building more scalable and usable Windows PowerShell scripts for use in your organization by building your own Windows PowerShell tools. Learn about areas such as the creation of advanced functions, script modules, advanced parameters attributes and controller scripts. Also learn how to make your scripts more robust by learning about handling script errors and the analysis and debugging Windows PowerShell scripts. The course will also cover the use of Windows PowerShell cmdlets with .NET Framework as well as teaching how to configure your Windows Servers using Desired State Configuration and providing an understanding of Windows PowerShell workflow.

The last two days of this course, based on M55020 'PowerShell 5.0 and Desired State Configuration' 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!

These two courses may also be taken seperately by attending M10962 'Advanced Automated Administration with Windows PowerShell' and M55020 'PowerShell 5.0 and Desired State Configuration'.

Objectives

  • Create Advanced Functions
  • Use Cmdlets and Microsoft .NET Framework in Windows PowerShell
  • Write Controller Scripts
  • Handle Script Errors
  • Use XML Data Files
  • Manage Server Configurations by Using Desired State Configuration
  • Analyze and Debugging Scripts
  • Understand Windows PowerShell Workflow
  • 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.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Hide all

Creating Advanced Functions (24 topics)

  • Converting a Command into an Advanced Function
  • Creating a Script Module
  • Defining Parameter Attributes and Input Validation
  • Writing Functions that use Multiple Objects
  • Writing Functions that Accept Pipeline Input
  • Producing Complex Function Output
  • Documenting Functions by using Content-Based Help
  • Supporting -Whatif and -Confirm
  • Lab : Converting a Command into an Advanced Function
  • Converting a Command into an Advanced Function
  • Lab : Creating a Script Module
  • Creating a Script Module
  • Lab : Defining Parameter Attributes and Input Validation
  • Defining Parameter Attributes and Input Validation
  • Lab : Writing Functions that use Multiple Objects
  • Writing Functions that use Multiple Objects
  • Lab : Writing Functions that Accept Pipeline Input
  • Writing Functions that Accept Pipeline Input
  • Lab : Producing Complex Function Output
  • Producing Complex Function Output
  • Lab : Documenting Functions by using Content-Based Help
  • Documenting Functions by using Content-Based Help
  • Lab : Supporting -Whatif and -Confirm
  • Supporting -Whatif and -Confirm

Using Cmdlets and Microsoft .NET Framework in Windows PowerShell (4 topics)

  • Running Windows PowerShell Commands
  • Using Microsoft .NET Framework in Windows PowerShell
  • Lab : Using .NET Framework in Windows PowerShell
  • Using Static and Instance Members

Writing Controller Scripts (5 topics)

  • Understanding Controller Scripts
  • Writing Controller Scripts that Show a User Interface
  • Lab : Writing Controller Scripts that Display a User Interface
  • Write Functions to be Used in the Controller Script
  • Write a Controller Script that Implements a Text-Based Menu

Handling Script Errors (4 topics)

  • Understanding Error Handling
  • Handling Errors in a Script
  • Lab : Handling Errors in a Script
  • Handling Errors in a Script

Using XML Data Files (4 topics)

  • Reading, Manipulating and Writing Data in XML
  • Lab : Reading, Manipulating and Writing Data in XML
  • Test the Provided Tools
  • Update an XML Inventory Document

Managing Server Configurations by Using Desired State Configuration (4 topics)

  • Understanding Desired State Configuration
  • Creating and Deploying a DSC Configuration
  • Lab : Creating and Deploying a DSC Configuration
  • Write, Run and Push a DSC Configuration

Analyzing and Debugging Scripts (4 topics)

  • Debugging in Windows PowerShell
  • Analyzing and Debugging and Existing Script
  • Lab : Analyzing and Debugging and Existing Script
  • Analyzing and Debugging and Existing Script

Understanding Windows PowerShell Workflow (1 topic)

  • Understanding Windows PowerShell Workflow

PowerShell 5.0 Desired State Configuration Introduction (9 topics)

  • 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

DSC Architecture (11 topics)

  • 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

DSC Configuration Files (8 topics)

  • 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

DSC Resources (24 topics)

  • 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

DSC Pull and Push Servers (13 topics)

  • 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

Appendix: PowerShell 5.0 Basics (6 topics)

  • Introduction to PowerShell
  • Utilizing PowerShell
  • The Pipeline
  • Processing Data with Loops
  • Scripting and Functions
  • Lab : Appendix: PowerShell 5.0 Basics

Prerequisites

  • Knowledge and experience working with Windows PowerShell or knowledge equivalent to the content covered in course 10961B: Automating Administration with Windows PowerShell
  • Experienced in general Windows Server and Windows Client administration or already experience in administering and supporting Application servers and services including applications like Exchange, SharePoint, and SQL.

Course PDF

Print

Share this Course

+1
Share

Recommend this Course

Sections