Processing your application. Please be patient while we make sure we receive every piece of it.
10325A: Automating Administration with Windows PowerShell 2.0
5 Days
This course provides students with the knowledge and skills to utilize Windows PowerShell for administering and automating administration of Windows based servers.
After completing this course, students will be able to:
  • Explain how Windows PowerShell works.
  • Use Windows PowerShell as an interactive, command-line shell.
  • Use Core Windows PowerShell cmdlets for everyday purpose.
  • Customize the output using Windows PowerShell Formatting Subsystem.
  • Explain what Windows Management Instrumentation (WMI) is and how it can be used from Windows PowerShell.
  • Manage Active Directory objects using Windows PowerShell cmdlets.
  • Write basic Windows PowerShell scripts that execute batches of commands.
  • Work with Windows PowerShell’s background jobs and remote administration functionality.
  • Master the scripting language of Windows PowerShell.
  • Use advanced techniques related to structured programming within Windows PowerShell.
  • Automate Windows Server 2008 R2 Administration using Windows PowerShell.
  • Identify the best practices for working with Windows PowerShell.
This 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.
Before attending this course, students must have:•Experience with Windows networking technologies and implementation.•Experience with Windows Server administration, maintenance, and troubleshooting•Experience with Active Directory technologies and implementation, including Group Policy.•Experience with Windows Server 2008 Web application server technologies and implementation.
Module 1: Fundamentals for Using WindowsPowerShell v2
This module provides background on WindowsPowerShell v2 and where it fits into the Windows technology family. Italso covers installation and configuration of Windows PowerShell. Itfamiliarizes students with the interactive shell console, and shows how tooperate and interpret the built-in help system. This module focuses on shell’sdiscoverability features, including the online help system and cmdletinventory. Finally, this module describes how the Windows PowerShellpipeline works at a basic level.

  • Windows PowerShell Technology Background and Overview
  • Windows PowerShell as an Interactive Command-Line Shell
  • Using the Windows PowerShell Pipeline

Module 2: Understanding and Using theFormatting System
This module explains how the PowerShellformatting subsystem works, and shows how to customize the output ofcmdlets. It covers the rules that the shell follows for formattingobjects by default, and explains how to use the four formatting cmdlets –and their parameters – to customize and control the output displayed on-screenor written to a file, printer, or other output destination.

  • Understanding the Formatting System
  • Using the Formatting System

Module 3: Core Windows PowerShell Cmdlets
This module describes several core cmdlets thatare used in many different administrative tasks. This module alsocovers the basics of filtering objects that are in the PowerShellpipeline. It explains advanced pipeline techniques includingpipeline parameter binding and in-pipeline object manipulation.

  • Core Cmdlets for Everyday Use
  • Comparison Operators, Pipeline Filtering, and Object Enumeration
  • Advanced Pipeline Techniques

Module 4: Windows Management Instrumentation
This module explains what WindowsManagement Instrumentation (WMI) is, how it works, and how it can be used fromwithin Windows PowerShell. It describes the structure and security of WMI, andhow to query WMI information both from local and remote computers. It alsoexplains how to invoke WMI methods to accomplish configuration changes andother tasks, and how to write commands that respond to WMI events triggered bythe operating system.
  • Windows Management Instrumentation Overview
  • Using Windows Management Instrumentation

Module 5: Automating Active Directory Administration
This module introduces the concept of ActiveDirectory administrative automation. It explains how to retrieve,create, modify, move, and remove objects in the Active Directory. Itfocuses on PowerShell-centric techniques rather than scripting, and heavilyleverages on basic and advanced pipeline techniques covered inprevious modules.
  • Active Directory Automation Overview
  • Managing Users and Groups
  • Managing Computers and Other Directory Objects

Module 6: Windows PowerShell Scripts
This module introduces basic Windows PowerShellscripts that execute a batch of shell commands in a single operation. It pointsout the security concerns associated with scripting, and how to configureand control the shell’s security settings that relate to scripting. Italso explains how to write basic scripts that execute batches of commands,and how to parameterize scripts in order to make them more flexible in avariety of situations.
  • Script Security
  • Basic Scripts

Module 7: Background Jobs and RemoteAdministration
This module explains how to work withWindows PowerShell’s background jobs and remote administrationfunctionality. It shows how to create, monitor, and manage localbackground jobs, and receive results from completed jobs. It alsocovers how to configure Windows PowerShell remoting both locally and in adomain environment. This module describes how to create and manage sessionconnections to remote computers, and explain how to use those sessionconnections in one-to-one remote shell instances as well as one-to-many remotecommand invocation. Finally, it shows how to invoke remote commandsas background jobs, and how to manage those jobs and receive results from them.

  • Working with Background Jobs
  • Using Windows PowerShell Remoting

Module 8: Advanced Windows PowerShell Tips and Tricks
This module introduces several advanced WindowsPowerShell techniques. While these techniques do not contribute directly to anyparticular business goal, they do enable more efficient use of the shellitself, which leads to more efficient administration and automation. Itshows how to use profiles to consistently configure the shell environment,and how to use several techniques for effectively re-using andsharing existing modularized scripts. It also points out bestpractices and techniques related to script documentation.
  • Using Profiles
  • Re-Using Scripts and Functions
  • Writing Comment-Based Help

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

  • Windows Server 2008 R2 Modules Overview
  • Server Manager Cmdlets Overview
  • Group Policy Cmdlets Overview
  • Troubleshooting Pack Overview
  • Best Practices Analyzer Cmdlets Overview
  • IIS Cmdlets Overview

Module 10: Reviewing and Reusing Windows PowerShell Scripts
One of the core skills administrators need is the abilityto take a script that someone else has written, review that script tounderstand what it does, and identify areas of that script that may need to bemodified to run in their environment. Those skills are exactly what this moduletries to build.
  • Example Script Overview
  • Understanding Scripts

Module 11: Writing Your Own WindowsPowerShell Scripts
This module explains the concepts and techniquesrelated to structured scripting and programming within WindowsPowerShell. It describes how to create, manage, and usevariables. It introduces the complete “scripting language” ofWindows PowerShell, which consists of several programming constructs. This modulealso covers advanced topics and techniques related to structured programmingwithin Windows PowerShell. It explains how to trap and handle errors thatoccur during script execution, and also describes the propertechniques and practices for debugging a script that is not executing asexpected. It shows how to modularize scripts into a variety of reusablefunctions, with the ultimate goal of producing a function that mimics thestructure of a shell cmdlet.

  • Variables, Arrays, Escaping, and More Operators
  • What is Scope?
  • Scripting Constructs
  • Error Trapping and Handling
  • Debugging Techniques
  • Modularization