Windows PowerShell Scripting and Toolmaking

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. 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.

Prerequisite

  • Attendance in the Automating Administration with Windows PowerShell v3.0 (M10961) is strongly recommended as a pre-requisite to this course
  • Experience in administering Windows server and client computers
  • Experience in running interactive Windows PowerShell commands from the command prompt

Expected Duration
5 day

Description

In this course, you will learn to build reusable tools by using Windows PowerShell 3.0. This course focuses on the Windows PowerShell scripting language and on the concepts and techniques needed to design tools, including and output requirements and functional requirements. You will learn functions to deal with anticipated errors using standard PowerShell patterns and practices. By course completion, you will be armed with the knowledge and skills to better 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.

Objective

1. Preparing for Scripting

  • Securing the Scripting Environment
  • Understanding Variables and Operators
  • Understanding Scripting Constructs and Scope

2. Parameterizing a Command

  • Designing Parameters
  • Implementing Parameters

3. Creating a Script Module

  • Designing Script Modules
  • Implementing Script Modules

4. Handling Errors

  • Designing Error Handling
  • Implementing Error Handling

5. Writing Commands that Use Pipeline Input and Output

  • Understanding Pipeline Parameter Binding
  • Implementing Pipeline Parameter Input
  • Implementing Pipeline Parameter Input

6. Creating Hierarchical Command Output

  • Designing Complex Command Output
  • Implementing Complex Command Output
  • Using Object Hierarchies

7. Debugging Scripts

  • Designing Scripts for Debugging
  • Implementing Script Debugging

8. Customizing Default Formatting

  • Designing Formatting
  • Implementing Custom Formatting

9. Adding Advanced Parameter Attributes and Command Documentation

  • Implementing Advanced Parameter Attributes
  • Implementing Help Documentation

10. Creating Controller Scripts

  • Designing Script Execution
  • Implementing a Controller Script

11. Creating HTML-Based Reports

  • Creating Basic HTML Reports
  • Creating Enhanced HTML Reports

12. Creating Basic Workflows

  • Understanding Workflows
  • Implementing Workflows

13. Working with XML Data

  • Understanding XML
  • Implementing XML Manipulation

14. Using Advanced Scripting Techniques

  • Using External Functionality
  • Adding Graphical User Interface Elements

15. Creating Proxy Functions

  • Designing Proxy Functions
  • Implementing Proxy Functions

16. Building Tools in Windows PowerShell

  • Designing the Tool
  • Implementing the Tool
  • Testing the Tool

SUBSCRIPTION COST


$2,995.00

Select Course Options

 

NEED HELP OR NOT SURE?