Overview
This four-day instructor-led course provides students with the knowledge and skills to leverage Microsoft Windows PowerShell v2 to administer their Windows environment. Both the command line environment and the scripting capabilities inherent in Microsoft’s automation engine are addressed during this hands-on course.
Outline
Module 1: Introduction to PowerShell – the Basics
This module explains how to install and configure PowerShell. In addition, students will be introduced to many of the concepts of PowerShell, including cmdlets and PowerShell drives.
Lessons
Lab : Introduction to PowerShell
After completing this module, students will be able to:
Module 2: The PowerShell Pipeline, Scripts and Syntax
This module explains how to use the PowerShell pipeline at the command line and in script files. It provides information on retrieving information on the properties and methods of objects. The module closes with information on command line syntax, managing output from cmdlets, and defining script blocks.
Lessons
Lab : The PowerShell Pipeline, Scripts and Syntax
After completing this module, students will be able to:
Module 3: Variables and Data Types, Variable Scopes, and Collections
This module explains how to use cmdlets associated with variables. addresses how PowerShell interprets variables based on their content. It reviews the common data types and how to control variable data types. It looks into the scope of the variable itself and finishes with using arrays.
Lessons
Lab : Variables and Data Types, Variable Scopes, and Collections
After completing this module, students will be able to:
Module 4: Security
This module explains how identify and configure script execution policies. It includes information on securing script files through the use of certificates as well as how to capture and use alternate credentials when executing commands. The module ends with a discussion on securing remote sessions.
Lessons
Lab : Security
After completing this module, students will be able to:
Module 5: Remote Management
This module explains how use the different methods of executing commands remotely. It covers the requirements for using PowerShell remoting, managing remote sessions, and running background jobs.
Lessons
Lab : Remote Management
After completing this module, students will be able to:
Module 6: Script Flow Control Statements
This module explains how use the language elements of PowerShell. It covers the statements for looping, branching, and managing the behavior of those statements through the use of break and continue keywords.
Lessons
Lab : Script Flow Control Statements
After completing this module, students will be able to:
Module 7: Functions, Filters and Modules
This module explains how use the features of PowerShell which allow you to extend its functionality through reusable code. It includes creating robust functions by leveraging parameters and introduces modules which enhance the portability of reusable code.
Lessons
Lab : Functions, Filters and Modules
After completing this module, students will be able to:
Module 8: Error Handling
This module explains how use the error handling environment within PowerShell. It addresses the language components which enhance managing errors. The debugging options within both the console host and the ISE are presented as tools for debugging scripts.
Lessons
Lab : Error Handling
After completing this module, students will be able to:
Module 9: Administrative Uses
This module explains how use the topics covered in previous modules in every day administrative tasks. It combines the command line, script files, modules and functions to automate a variety of tasks. It introduces the concepts of advanced scripting which make PowerShell an enterprise-ready scripting environment.
Lessons
Lab : Administrative Uses
After completing this module, students will be able to: