Advanced Automated Administration with Windows PowerShell® (180 Day) - On Demand (ODX10962C)

This is a three-day course that will teach students how to automate administrative tasks using Windows PowerShell 5.1. Students will learn core scripting skills such as creating advanced functions, writing controller scripts, and handling script errors. Students will learn how to works with Windows PowerShell Workflow, the REST API and XML and JSON formatted data files, Students will also learn how to use new administration tools such Desired State Configuration (DSC) and Just Enough Administration (JEA) to configure and secure servers.

Microsoft On Demand
Microsoft Official Courses On-Demand (MOC On-Demand) blend video, text, hands-on labs and knowledge checks to help you build your Microsoft technology skills on your own schedule, at your own pace and in your own place. No need to spend time and money travelling to a classroom location or adhering to classroom hours with a computer and an Internet connection, your Microsoft Official Courses On-Demand come to you, any time.
  • Microsoft On Demand covers the same objectives as the classroom course by the same name
  • After you activate your course, you have 6 months to complete it. You can work on your course at any time throughout the 6-month period after you activate the course.

Audience Profile
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 developers who support development environments and deployment processes.

Prerequisites
In addition to their professional experience, students who attend this training should already have the following technical knowledge:
  • Experience with Windows networking technologies and implementation.
  • Experience with Windows Server administration, maintenance, and troubleshooting.
  • Experience with Windows Client administration, maintenance, and troubleshooting.
  • Experience with using Windows PowerShell to run commands and to create basic non-modularized scripts.

Students who attend this training can meet the prerequisites by obtaining equivalent knowledge and skills through practical experience as a Windows System Administrator. Course 10961: Automating Administration with Windows PowerShell is strongly recommended to obtain prerequisite skills in Windows PowerShell.

Objectives
After completing this course, students will be able to:
  • Create advanced functions.
  • Use Microsoft .NET Framework and REST API in Windows PowerShell.
  • Write controller scripts.
  • Handle script errors.
  • Use XML, JSON, and custom formatted data.
  • Enhance server management with Desired State Configuration and Just Enough Administration.
  • Analyze and debug scripts
  • Understand Windows PowerShell workflow.
Mostrar detalhes
Course Outline

Module 1: Creating advanced functions

This module explains how to parameterize a command into an advanced function.
Lessons
  • Converting a command into an advanced function
  • Creating a script module
  • Defining parameter attributes and input validation
  • Writing functions that accept pipeline input
  • Producing complex pipeline output
  • Documenting functions by using comment-based help
  • Supporting –WhatIf and -Confirm

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
  • Using Microsoft .NET Framework in Windows PowerShell
  • Using REST API in Windows 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
  • Introducing controller scripts
  • Writing controller scripts that display a user interface
  • Writing controller scripts that produce reports

Module 4: Handling script errors
This module explains how to perform basic error handling in scripts.
Lessons
  • Understanding error handling
  • Handling errors and timeouts 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
  • Reading, manipulating, and writing XML-formatted data
  • Reading, manipulating, and writing JSON-formatted data
  • Reading and manipulating 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 servers’ configurations. This module also explains how to restrict administrative access with Just Enough Administration (JEA).
Lessons
  • Understanding Desired State Configuration
  • Creating and deploying a DSC configuration
  • 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
  • Debugging in Windows PowerShell
  • Analyzing and debugging an existing script

Module 8: Understanding Windows PowerShell Workflow
This module explains the features of the Windows PowerShell Workflow technology.
Lessons
  • Understanding Windows PowerShell Workflow