Course Outline
Pre-Requisites
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 Automating Administration with Windows PowerShell v3.0 (M10961)
Lessons
Build the tools that will allow you to better administer your Windows server and client products.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.
Did You Know?This class is available in our Virtual Classroom -- live online training that combines premium skills development technologies and expert instructors, content, and exercises to ensure superior training, regardless of your location.
What You'll Learn- 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
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.
Course Outline1. Preparing for Scripting
- Securing the Scripting Environment
- Understanding Variables and Operators
- Understanding Scripting Constructs and Scope
- Designing Parameters
- Implementing Parameters
- Designing Script Modules
- Implementing Script Modules
- Designing Error Handling
- Implementing Error Handling
- Understanding Pipeline Parameter Binding
- Implementing Pipeline Parameter Input
- Implementing Pipeline Parameter Input
- Designing Complex Command Output
- Implementing Complex Command Output
- Using Object Hierarchies
- Designing Scripts for Debugging
- Implementing Script Debugging
- Designing Formatting
- Implementing Custom Formatting
- Implementing Advanced Parameter Attributes
- Implementing Help Documentation
- Designing Script Execution
- Implementing a Controller Script
- Creating Basic HTML Reports
- Creating Enhanced HTML Reports
- Understanding Workflows
- Implementing Workflows
- Understanding XML
- Implementing XML Manipulation
- Using External Functionality
- Adding Graphical User Interface Elements
- Designing Proxy Functions
- Implementing Proxy Functions
- Designing the Tool
- Implementing the Tool
- Testing the Tool
Lab 1: Parameterizing a Command
- Identify changeable values
- Declare parameters
- Use parameters in place of changeable values
- Test the script
- Creating a Script Module
- Saving the script module
- Adding a module-level variable
- Controlling module member visibility
- Testing the script module
- Using the Try.Catch Construct
- Handling Command Errors
- Handling Non-Command Errors
- Logging Errors to a File
- Displaying Warning Messages
- Adding Pipeline Input Capability to Parameters
- Working with Pipeline Input
- Creating Custom Output Objects
- Outputting Objects to the Pipeline
- Retrieving and Enumerating Data
- Creating Child Objects
- Creating the Parent Object
- Displaying and Object Hierarchy
- Persisting an Object Hierarchy
- Using Write-Debug
- Using PSBreakpoints
- Adding a Custom Type Name to an Object
- Creating a DefaultDisplayPropertySet Type Extension
- Creating a Custom View
- Adding Type Extensions and Views to Modules and Creating a Module Manifest
- Defining Aliases and Help Messages
- Defining Parameter Validation
- Adding Comment-Based Help
- Writing a Command that Uses -Confirm and -WhatIf
- Creating a Controller Script
- Parameterizing a Controller Script
- Testing a Controller Script
- Debugging a Controller Script
- Creating Reports by using HTML
- Converting Objects into HTML Fragments
- Combining HTML Fragments
- Adding Basic Formatting
- Creating Enhanced HTML Fragments
- Applying Conditional Formatting
- Importing the PSWorkflow Module
- Converting a Function to a Basic Workflow
- Parallelizing Commands
- Loading XML
- Manipulating XML as an Object Hierarchy
- Selecting XML Elements by using XPath
- Modifying XML
- Saving XML
- Generating a Proxy Function Template
- Modifying the Template
- Using the Proxy Function
- Bypassing a Proxy Function
- Designing the Tool
- Implementing the Tool
- Testing the Tool
Cancellation Policy
We require 16 calendar days notice to reschedule or cancel any registration. Failure to provide the required notification will result in 100% charge of the course. If a student does not attend a scheduled course without prior notification it will result in full forfeiture of the funds and no reschedule will be allowed. Within the required notification period, only student substitutions will be permitted. Reschedules are permitted at anytime with 16 or more calendar days notice. Enrollments must be rescheduled within six months of the cancel date or funds on account will be forfeited.
Training Location
Online Classroom
your office
your city,
your province
your country
I would never take another course that starts at 11AM and goes to 9PM again. The way the course was laid out really took away from the capturing of what was presented as it was 5-6 hours of watching a screen before getting to the actual labs. There has to be a better way to lay out this particular course. In my previous course, the lectures were broken up by labs which worked out fantastic and kept you engaged in the course. There were days when in order to actually complete the labs, would go over the 9PM day end time frame. Was able to get the primary labs done, but if you want to get all the content completed, you cannot complete it in the window of this course, you will need to come back on your own time.