Building PowerShell Commands
LISA: Where systems engineering and operations professionals share real-world knowledge about designing, building, and maintaining the critical systems of our interconnected world.
The LISA conference has long served as the annual vendor-neutral meeting place for the wider system administration community. The LISA14 program recognized the overlap and differences between traditional and modern IT operations and engineering, and developed a highly-curated program around 5 key topics: Systems Engineering, Security, Culture, DevOps, and Monitoring/Metrics. The program included 22 half- and full-day training sessions; 10 workshops; and a conference program consisting of 50 invited talks, panels, refereed paper presentations, and mini-tutorials.
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