Building PowerShell Commands
Steven Murawski, Chef
Steven Murawski, Chef
Steven is a Technical Community Manager for Chef and a Microsoft MVP in PowerShell. Steven is a co-host of the Ops All The Things podcast.
author = {Steven Murawski},
title = {Building {PowerShell} Commands},
year = {2014},
address = {Seattle, WA},
publisher = {USENIX Association},
month = nov
}
Building PowerShell Commands will take you from using basic commands to developing scripts and functions. The course will cover error handling, creating help, working with the pipeline (for receiving input and processing data), and a variety of tips and tricks to make your functions robust and practical.
If you're just starting with PowerShell and want to learn to make reusable commands or if you are a commandline junkie but haven't made the jump to being a toolmaker, this is the tutorial for you.
Attendees will take back an understanding of the structure of PowerShell commands, how to leverage capabilities inherent in the PowerShell runtime (to stop re-inventing the wheel), and how to make those commands ready to share with help that works with the native help formatting system.
- Function structure and phases of the pipeline.
- Parameter declaration and validation.
- Supporting Verbose, Debug, WhatIf, and Confirm parameters.
- Comment-based help.
connect with us