Welcome to ONLC Training Centers


Windows PowerShell Scripting and Toolmaking - 55039 Course Outline

 (5 days)

Overview
This five-day instructor-led course is intended for IT Professionals who have a working knowledge of Windows PowerShell 3.0 techniques and technologies, and who want to build reusable tools by using Windows PowerShell 3.0. Students of this course may administer a wide variety of server and client products and technologies that offer Windows PowerShell integration, including Microsoft Exchange Server, Microsoft Windows Active Directory Domain Services, Microsoft SharePoint Server, and more. This course focuses on the Windows PowerShell scripting language, and on the concepts and techniques needed to produce reusable, professional tools.

Audience profile
This course is intended for administrators that have little or no programming experience, but who have a working knowledge of Windows PowerShell and who are able to use Windows PowerShell to run complex, interactive commands.

Prerequisites
Before attending this course, students must have:
• Experience in administering Windows server and client computers
• Experience in running interactive Windows PowerShell commands from the command prompt
• Course 10961 is strongly recommended as a pre-requisite to this course

At course completion
After completing this course, students will be able to:
• Design tools, including input requirements, output requirements, and functional requirements.
• Write tools, including scripting, parameterizing commands, and providing verbose output.
• Debug tools and provide error handling within tools.
• Combine tools into script and manifest modules.
• Create custom formatting views.
• Create tools that are consistent in naming and operation with native Windows PowerShell tools

Course Outline

Module 1: Preparing for Scripting
This module explains how to prepare the environment for scripting, and provides refresher and background information for scripting.
Lessons
• Securing the Scripting Environment
• Understanding Variables and Operators
• Understanding Scripting Constructs and Scope

Module 2: Parameterizing a Command
This module explains how to start with an existing command and parameterize it to create a reusable tool.
Lessons
• Designing Parameters
• Implementing Parameters
Lab: Parameterizing a Command

Module 3: Creating a Script Module
This module explains how to turn a basic script into a script module that can be distributed, loaded, and unloaded in Windows PowerShell.
Lessons
• Designing Script Modules
• Implementing Script Modules
Lab: Creating a Script Module

Module 4: Handling Errors
This module explains how to trap and handle errors within a script module.
Lessons
• Designing Error Handling
• Implementing Error Handling
Lab: Handling Errors

Module 5: Writing Commands that Use Pipeline Input and Output
This module explains how to write commands that integrate with the Windows PowerShell pipeline. Students will create commands that produce pipeline output and that accept pipeline input.
Lessons
• Understanding Pipeline Parameter Binding
• Implementing Pipeline Parameter Input
• Implementing Pipeline Parameter Input
Lab: Writing Commands that Use Pipeline Inout and Output

Module 6: Creating Hierarchical Command Output
This module explains how to create, and use, object-oriented output that includes object hierarchies.
Lessons
• Designing Complex Command Output
• Implementing Complex Command Output
• Using Object Hierarchies
Lab: Creating Hierarchical Command Output

Module 7: Debugging Scripts
This module explains Windows PowerShell techniques used to debug scripts, and provides students with opportunities to practice debugging skills.
Lessons
• Designing Scripts for Debugging
• Implementing Script Debugging
Lab: Debugging Scripts

Module 8: Customizing Default Formatting
This module explain how to create a custom formatting view that can be added to a script module.
Lessons
• Designing Formatting
• Implementing Custom Formatting
Lab: Customizing Default Formatting

Module 9: Adding Advanced Parameter Attributes and Command Documentation
This module explains how to declare parameter aliases, help messages, and input validation. It also explains how to implement switch parameters, how to add support for the –WhatIf and –Confirm parameters, and how to add comment-based help to a command.
Lessons
• Implementing Advanced Parameter Attribtues
• Implementing Help Documentation
Lab: Adding Advanced Parameter Attributes and Command Documentation

Module 10: Creating Controller Scripts
This module explains how to create scripts that implement complex business processes by running multiple tools in a specified sequence.
Lessons
• Designing Script Execution
• Implementing a Controller Script
Lab: Creating Controller Scripts

Module 11: Creating HTML-Based Reports
This module explains how to write controller scripts that produce HTML-based management reports.
Lessons
• Creating Basic HTML Reports
• Creating Enhanced HTML Reports
Lab: Creating Reports by using HTML

Module 12: Creating Basic Workflows
This modules explains the key differences between Windows PowerShell functions and workflows, and shows students how to create a basic workflow.
Lessons
• Understanding Workflows
• Implementing Workflows
Lab: Creating Basic Workflows

Module 13: Working with XML Data
This module explains how Windows PowerShell interprets, represents, and manipulates XML-based data.
Lessons
• Understanding XML
• Implementing XML Manipulation
Lab: Working with XML Data

Module 14: Using Advanced Scripting Techniques
This module explains how to use advanced scripting techniques, including execution of external commands and graphical user interfaces.
Lessons
• Using External Functionality
• Adding Graphical User Interface Elements

Module 15: Creating Proxy Functions
This module explains how to create proxy functions in Windows PowerShell.
Lessons
• Designing Proxy Functions
• Implementing Proxy Functions
Lab: Creating Proxy Functions

Module 16: Building Tools in Windows PowerShell
This module is a “final exam” for the course, and offers students the opportunity to build a complete tool, from scratch, using many of the techniques that they have learned in the preceding days.
Lessons
• Designing the Tool
• Implementing the Tool
• Testing the Tool
Lab: Building Tools in Windows PowerShell

View outline in Word

A55039

Attend hands-on, instructor-led Windows PowerShell Scripting and Toolmaking - 55039 training classes at ONLC's more than 300 locations. Not near one of our locations? Attend these same live classes from your home/office PC via our Remote Classroom Instruction (RCI) technology.

For additional training options, check out our list of PowerShell Courses and select the one that's right for you.

Microsoft Gold Partner
Class Dates
(click date for class times)
(click Enroll for locations)

Fee:  $2795

Savings options:

 15 Day Pass
 CEA Tech Saver
Need a price quote?

Follow the link to our self-service price quote form to generate an email with a price quote.

Email Alert

Receive an email when this class is available as "Ready to Run" or "Early Notice" status.

Attend from your office or home

If you have high-speed internet and two computers you can likely take this class from your office or home.

Need a class for a group?

We can deliver this class for a private group at your location. Follow the link to request more information.

Attend computer classes from ONLC Training Centers Request a copy via mail

GENERAL INFO

Class Format
Class Policies
Student Reviews

Bookmark and Share


HAVE QUESTIONS?
First Name

Last Name

Company

Phone

Email

Location

Question/Comment



ONLC TRAINING CENTERS
800-288-8221
www.onlc.com