Microsoft Course 10325 - Automating Administration with Windows PowerShell 2.0 — A 5 day course

contact usEnquire about this course

Synopsis

The Microsoft M10325 course provides students with the knowledge and skills to utilize Windows PowerShell for administering and automating administration of Windows based servers.

Objectives

On completion of the Microsoft M10325 course, delegates should be able to:

Suitable For

The Microsoft MS10325 course is intended for IT Professionals already experienced in general Windows Server and Windows Client administration, including Active Directory +administration. No prior experience with any version of Windows PowerShell, or any scripting language, is assumed.

Prerequisites

Attendees of the Microsoft 10325 course should meet the following prerequisites:

Publicly scheduled dates, locations, and prices

A schedule of dates for this subject is not currently available. Please call 0333 210 0140 or use our contact form to enquire about places and availability.


Contents

Fundamentals for Using Windows PowerShell v2

This module provides background on Windows PowerShell v2 and where it fits into the Windows technology family. It also covers installation and configuration of Windows PowerShell. It familiarizes students with the interactive shell console, and shows how to operate and interpret the built-in help system. This module focuses on shell's discoverability features, including the online help system and cmdlet inventory. Finally, this module describes how the Windows PowerShell pipeline works at a basic level.

Lab: Using Windows PowerShell as an Interactive Command-Line Shell

Lab: Using the Windows PowerShell Pipeline

Core Windows PowerShell Cmdlets

This module describes several core cmdlets that are used in many different administrative tasks. This module also covers the basics of filtering objects that are in the PowerShell pipeline. It explains advanced pipeline techniques including pipeline parameter binding and in-pipeline object manipulation.

Lab: Using the Core Cmdlets

Lab: Filtering and Enumerating Objects in the Pipeline

Lab: Using Pipeline Parameter Binding

Understanding and Using the Formatting System

This module explains how the PowerShell formatting subsystem works, and shows how to customize the output of cmdlets. It covers the rules that the shell follows for formatting objects by default, and explains how to use the four formatting cmdlets - and their parameters - to customize and control the output displayed on-screen or written to a file, printer, or other output destination.

Lab: Using the Formatting Subsystem

Windows Management Instrumentation

This module explains what Windows Management Instrumentation (WMI) is, how it works, and how it can be used from within Windows PowerShell. It describes the structure and security of WMI, and how to query WMI information both from local and remote computers. It also explains how to invoke WMI methods to accomplish configuration changes and other tasks, and how to write commands that respond to WMI events triggered by the operating system.

Lab: Using WMI in Windows PowerShell

Lab: Using Advanced WMI Techniques

Automating Active Directory Administration

This module introduces the concept of Active Directory administrative automation. It explains how to retrieve, create, modify, move, and remove objects in the Active Directory. It focuses on PowerShell-centric techniques rather than scripting, and heavily leverages on basic and advanced pipeline techniques covered in previous modules.

Lab: Managing Users and Groups

Lab: Managing Computers and Other Directory Objects

Windows PowerShell Scripts

This module introduces basic Windows PowerShell scripts that execute a batch of shell commands in a single operation. It points out the security concerns associated with scripting, and how to configure and control the shell's security settings that relate to scripting. It also explains how to write basic scripts that execute batches of commands, and how to parameterize scripts in order to make them more flexible in a variety of situations

Lab: Writing Windows PowerShell Scripts

Background Jobs and Remote Administration

This module explains how to work with Windows PowerShell's background jobs and remote administration functionality. It shows how to create, monitor, and manage local background jobs, and receive results from completed jobs. It also covers how to configure Windows PowerShell remoting both locally and in a domain environment. This module describes how to create and manage session connections to remote computers, and explain how to use those session connections in one-to-one remote shell instances as well as one-to-many remote command invocation. Finally, it shows how to invoke remote commands as background jobs, and how to manage those jobs and receive results from them.

Lab: Working with Background Jobs

Lab: Using Windows PowerShell Remoting

Intermediate Scripting

This module explains the concepts and techniques related to structured scripting and programming within Windows PowerShell. It describes how to create, manage, and use variables. It also introduces the complete "scripting language" of Windows PowerShell, which consists of several programming constructs.

Lab: Using Variables and Arrays

Lab : Using Scripting Constructs

Error Handling, Debugging, and Modularization

This module covers advanced topics and techniques related to structured programming within Windows PowerShell. It explains how to trap and handle errors that occur during script execution, and also describes the proper techniques and practices for debugging a script that is not executing as expected. It also shows how to modularize scripts into a variety of reusable functions, with the ultimate goal of producing a function that mimics the structure of a shell cmdlet.

Lab: Error Trapping and Handling

Lab: Debugging a Script

Lab: Modularization

Automating Windows Server 2008 R2 Administration

This module gives an opportunity to complete several real-world administration tasks related to Windows Server 2008 R2. It provides minimal instruction in how to use the cmdlets and techniques required to accomplish the lab portion of this module; instead, it lets students rely on the skills they have learned in the preceding modules of this course.

Lab: Using the Server Manager Cmdlets

Lab: Using the Group Policy Cmdlets

Lab: Using the Troubleshooting Pack Cmdlets

Lab: Using the Best Practice Analyzer Cmdlets

Lab: Using the IIS Cmdlets

Advanced Windows PowerShell Tips and Tricks

This module introduces several advanced Windows PowerShell techniques. While these techniques do not contribute directly to any particular business goal, they do enable more efficient use of the shell itself, which leads to more efficient administration and automation. It shows how to use profiles to consistently configure the shell environment, and how to use several techniques for effectively re-using and sharing existing modularized scripts. It also points out best practices and techniques related to script documentation.

Lab: Advanced PowerShell Tips and Tricks

Practical Administrative Automation

This module allows students to practice all of the skills they have learned in this course in a series of practical, real-world tasks. These tasks will require students to use everything they have learned in this course, including the ability to discover new cmdlets and learn how they work - without using external references. This module is intended to serve as a form of "confidence course", enabling students to prove to themselves that they can return to their work environment and begin accomplishing tasks in Windows PowerShell without further instruction.

Lab: New User Provisioning