Course Catalog
Advanced Automated Administration with Windows PowerShell
Code: 55318
Duration: 3 Day
$2095 USD

OVERVIEW

The primary focus of the exercises and labs is Windows PowerShell but much of the material may also be used with PowerShell Core. The examples and demonstrations cover a wide range of services that PowerShell can be used with. Students will be able to practice using PowerShell with Active Directory, IIS, .NET resources, SMTP, SQL Server, and various file formats used for input / output operations such as JSON, XML and CSV. The virtual machines used for the class are built with PowerShell and the scripts are made available to students so they can build their own lab environment in Microsoft Azure or Hyper-V using the skills they learn in class.

DELIVERY FORMAT

This course is available in the following formats:

Virtual Classroom

Duration: 3 Day
Classroom

Duration: 3 Day

CLASS SCHEDULE
Call 800-798-3901 to enroll in this class!

GOALS

At Course Completion

  • Create advanced functions.
  • Use Microsoft .NET Framework and REST API in Windows PowerShell.
  • Handle script errors.
  • Use XML, JSON, and custom formatted data.
  • Manage Microsoft Azure resources
  • Analyze and debug scripts
  • Understand Windows PowerShell workflow.
OUTLINE

Module 1: Creating advanced functions

This module explains how to parameterize a command into an advanced function.

Lessons

  • Lesson 1: Converting a command into an advanced function
  • Lesson 2: Creating a script module
  • Lesson 3: Defining parameter attributes and input validation
  • Lesson 4: Writing functions that accept pipeline input
  • Lesson 5: Producing complex pipeline output
  • Lesson 6: Using comment-based Help
  • Lesson 7: Using Whatif and Confirm parameters

Module 2: Using Microsoft .NET Framework and REST API in Windows PowerShell

This module explains how to use Microsoft .NET Framework and REST API to supplement functionality that Windows PowerShell commands provide.

Lessons

  • Lesson 1: Using .NET Framework in PowerShell
  • Lesson 2: Using REST API in PowerShell

Module 3: Writing controller scripts

This module explains how to combine advanced functions that perform a specific task and a controller script that provides a user interface or automates a business process.

Lessons

  • Lesson 1: Understanding controller scripts
  • Lesson 2: Writing controller scripts with a user interface
  • Lesson 3: Writing controller scripts that create reports

Module 4: Handling script errors

This module explains how to perform basic error handling in scripts.

Lessons

  • Lesson 1: Understanding error handling
  • Lesson 2: Handling errors in a script

Module 5: Using XML, JSON, and custom-formatted data

This module explains how to read, manipulate, and write data in XML and JSON format.

Lessons

  • Lesson 1: Working with XML formatted data
  • Lesson 2: Working with JSON formatted data
  • Lesson 3: Working with custom-formatted data

Module 6: Enhancing server management with Desired State Configuration and Just Enough Administration

This module explains how to write Desired State Configuration (DSC) configuration files, deploy those files to servers, and monitor server's configurations. This module also explains how to restrict administrative access with Just Enough Administration (JEA).

Lessons

  • Lesson 1: Implementing Desired State Configuration
  • Lesson 2: Implementing Just Enough Administration

Module 7: Analyzing and debugging scripts

This module explains how to use native Windows PowerShell features to analyze and debug existing scripts

Lessons

  • Lesson 1: Debugging in Windows PowerShell
  • Lesson 2: Analyzing and debugging an existing script

Module 8: Understanding Windows PowerShell Workflow

This module explains the features of the Windows PowerShell Workflow technology.

Lessons

  • Lesson 1: Understanding Windows PowerShell Workflows
  • Lesson 2: Running Windows PowerShell Workflows

Module 1: Creating advanced functions

This module explains how to parameterize a command into an advanced function.

Lessons

  • Lesson 1: Converting a command into an advanced function
  • Lesson 2: Creating a script module
  • Lesson 3: Defining parameter attributes and input validation
  • Lesson 4: Writing functions that accept pipeline input
  • Lesson 5: Producing complex pipeline output
  • Lesson 6: Using comment-based Help
  • Lesson 7: Using Whatif and Confirm parameters

Module 2: Using Microsoft .NET Framework and REST API in Windows PowerShell

This module explains how to use Microsoft .NET Framework and REST API to supplement functionality that Windows PowerShell commands provide.

Lessons

  • Lesson 1: Using .NET Framework in PowerShell
  • Lesson 2: Using REST API in PowerShell

Module 3: Writing controller scripts

This module explains how to combine advanced functions that perform a specific task and a controller script that provides a user interface or automates a business process.

Lessons

  • Lesson 1: Understanding controller scripts
  • Lesson 2: Writing controller scripts with a user interface
  • Lesson 3: Writing controller scripts that create reports

Module 4: Handling script errors

This module explains how to perform basic error handling in scripts.

Lessons

  • Lesson 1: Understanding error handling
  • Lesson 2: Handling errors in a script

Module 5: Using XML, JSON, and custom-formatted data

This module explains how to read, manipulate, and write data in XML and JSON format.

Lessons

  • Lesson 1: Working with XML formatted data
  • Lesson 2: Working with JSON formatted data
  • Lesson 3: Working with custom-formatted data

Module 6: Enhancing server management with Desired State Configuration and Just Enough Administration

This module explains how to write Desired State Configuration (DSC) configuration files, deploy those files to servers, and monitor server's configurations. This module also explains how to restrict administrative access with Just Enough Administration (JEA).

Lessons

  • Lesson 1: Implementing Desired State Configuration
  • Lesson 2: Implementing Just Enough Administration

Module 7: Analyzing and debugging scripts

This module explains how to use native Windows PowerShell features to analyze and debug existing scripts

Lessons

  • Lesson 1: Debugging in Windows PowerShell
  • Lesson 2: Analyzing and debugging an existing script

Module 8: Understanding Windows PowerShell Workflow

This module explains the features of the Windows PowerShell Workflow technology.

Lessons

  • Lesson 1: Understanding Windows PowerShell Workflows
  • Lesson 2: Running Windows PowerShell Workflows
LABS

Lab: Creating advanced functions

  • Exercise 1: Converting a command into a function
  • Exercise 2: Creating a script module
  • Exercise 3: Defining parameter attributes
  • Exercise 4: Writing functions to accept pipeline input
  • Exercise 5: Producing complex function output
  • Exercise 6: Using comment-based Help
  • Exercise 7: Using Whatif and Confirm parameters

Lab: Using Microsoft .NET Framework and REST API in Windows PowerShell

  • Exercise 1: Using .NET Framework in PowerShell
  • Exercise 2: Using REST API in PowerShell

Lab: Writing controller scripts

  • Exercise 1: Understanding controller scripts
  • Exercise 2: Writing controller scripts with a user interface
  • Exercise 3: Writing controller scripts that create reports

Lab: Handling script errors

  • Exercise 1: Understanding error handling
  • Exercise 2: Handling errors in a script

Lab: Working with XML and JSON formatted data

  • Exercise 1: Working with XML formatted data
  • Exercise 2: Working with JSON formatted data
  • Exercise 3: Working with custom-formatted data
  • Exercise 4: Using PowerShell Core (Optional)

Lab: Creating and deploying a DSC configuration

  • Exercise 1: Implementing Desired State Configuration
  • Exercise 2: Implementing Just Enough Administration

Lab: Analyzing and debugging scripts

  • Exercise 1: Debugging in Windows PowerShell
  • Exercise 2: Analyzing and debugging an existing script

Lab: Create and run Windows PowerShell Workflows

  • Exercise 1: Understanding Windows PowerShell Workflows
  • Exercise 2: Running Windows PowerShell Workflows

Lab: Creating advanced functions

  • Exercise 1: Converting a command into a function
  • Exercise 2: Creating a script module
  • Exercise 3: Defining parameter attributes
  • Exercise 4: Writing functions to accept pipeline input
  • Exercise 5: Producing complex function output
  • Exercise 6: Using comment-based Help
  • Exercise 7: Using Whatif and Confirm parameters

Lab: Using Microsoft .NET Framework and REST API in Windows PowerShell

  • Exercise 1: Using .NET Framework in PowerShell
  • Exercise 2: Using REST API in PowerShell

Lab: Writing controller scripts

  • Exercise 1: Understanding controller scripts
  • Exercise 2: Writing controller scripts with a user interface
  • Exercise 3: Writing controller scripts that create reports

Lab: Handling script errors

  • Exercise 1: Understanding error handling
  • Exercise 2: Handling errors in a script

Lab: Working with XML and JSON formatted data

  • Exercise 1: Working with XML formatted data
  • Exercise 2: Working with JSON formatted data
  • Exercise 3: Working with custom-formatted data
  • Exercise 4: Using PowerShell Core (Optional)

Lab: Creating and deploying a DSC configuration

  • Exercise 1: Implementing Desired State Configuration
  • Exercise 2: Implementing Just Enough Administration

Lab: Analyzing and debugging scripts

  • Exercise 1: Debugging in Windows PowerShell
  • Exercise 2: Analyzing and debugging an existing script

Lab: Create and run Windows PowerShell Workflows

  • Exercise 1: Understanding Windows PowerShell Workflows
  • Exercise 2: Running Windows PowerShell Workflows
WHO SHOULD ATTEND

This course is intended for IT professionals who are experienced in general Windows Server and Windows Client administration. Students should have a foundational knowledge of Windows PowerShell, which they can obtain by taking course 10961C: Automating Administration with Windows PowerShell.

In addition, this course provides scripting guidance for Microsoft Azure administrators and developers who support development environments and deployment processes.

PREREQUISITES

  • Experience as a Windows System Administrator
  • Prior scripting or programming experience
  • All the prerequisites can be met by successfully taking the 10961 – Automating Administration with Windows PowerShell course