Course description

Focus on building more scalable and usable Windows PowerShell scripts for use in your organization.

Learn how to automate and streamline day to day management and administration tasks and functions in your Windows Server Infrastructure. Learn about areas such as the creation of advanced functions, script modules, advanced parameters attributes and controller scripts. Also learn how to make your scripts more robust by learning about handling script errors and the analysis and debugging Windows PowerShell scripts. The course will also cover the use of Windows PowerShell cmdlets with .NET Framework as well as providing an understanding of Windows PowerShell workflow.

Each individual Microsoft Official Course On-Demand includes 3 months (or 12 months with purchase of Microsoft Total Access Collection) of 24x7 access to the following:

What You'll Learn in Class:

Who Needs to Attend:

IT Professionals who want to build upon existing Windows PowerShell knowledge and skill to learn how to build their own tools for broader general use in their organization, using any Microsoft product that supports Windows PowerShell manageability.


Automating Administration with Windows PowerShell (M10961)

Course Outline:

1: Creating Advanced Functions

2: Using Cmdlets and Microsoft .NET Framework in Windows PowerShell

3: Writing Controller Scripts

4: Handling Script Errors

5: Using XML Data Files

6: Managing Server Configurations by Using Desired State Configuration

7: Analyzing and Debugging Scripts

8: Understanding Windows PowerShell Workflow


Lab 1: Converting a Command into an Advanced Function

Lab 2: Creating a Script Module

Lab 3: Defining Parameter Attributes and Input Validation

Lab 4: Writing Functions that use Multiple Objects

Lab 5: Documenting Functions by using Content-Based Help

Lab 6: Supporting -Whatif and -Confirm

Lab 7: Writing Functions that Accept Pipeline Input

Lab 8: Producing Complex Function Output

Lab 9: Using .NET Framework in Windows PowerShell

Lab 10: Writing Controller Scripts that Display a User Interface

Lab 11: Handling Errors in a Script

Lab 12: Reading, Manipulating and Writing Data in XML

Lab 13: Creating and Deploying a DSC Configuration

Lab 14: Analyzing and Debugging and Existing Script