MOC 55039 B: Windows PowerShell Scripting and Toolmaking

Training Summary
This five-day instructor-led is intended for IT professionals who are interested in furthering their skills in Windows PowerShell and administrative automation. The course assumes a basic working knowledge of PowerShell as an interactive command-line shell, and teaches students the correct patterns and practices for building reusable, tightly scoped units of automation.
Before attending this course, students must have:
  • Experience at basic Windows administration
  • Experience using Windows PowerShell to query and modify system information
  • Experience using Windows PowerShell to discover commands and their usage
  • Experience using WMI and/or CIM to query system information
5 Days/Lecture & Lab
This course is intended for administrators in a Microsoft-centric environment who want to build reusable units of automation, automate business processes, and enable less-technical colleagues to accomplish administrative tasks.
Course Topics
  • Tool Design
  • Start with a Command
  • Build a Basic Function and Module
  • Adding CmdletBinding and Parameterizing
  • Emitting Objects as Output
  • An Interlude: Changing Your Approach
  • Using Verbose, Warning, and Informational Output
  • Comment-Based Help
  • Handling Errors
  • Basic Debugging
  • Going Deeper with Parameters
  • Writing Full Help
  • Unit Testing Your Code
  • Extending Output Types
  • Analyzing Your Script
  • Publishing Your Tools
  • Basic Controllers: Automation Scripts and Menus
  • Proxy Functions
  • Working with XML Data
  • Working with JSON Data
  • Working with SQL Server Data
  • Final Exam

Related Scheduled Courses