Windows PowerShell Scripting and Toolmaking (55039)
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.
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
In this course, you will learn to build reusable tools by using Windows PowerShell 5.0/5.1.
Prerequisites
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
Audience
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 OUTLINE
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
Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com
Request a Date