From Script to Tool: Building Robust, Meaningful Tools with PowerShell
summary
Slides and demos show the evolution from command‑line experiments to a reusable module, with concrete commands and patterns: Get-ADUser/Set-ADUser examples, exporting to CSV, PSCustomObject outputs, parameter types and ValidateSet for validation, try/catch with ErrorAction Stop, and a simple CRUD flow. A local SummitToolbox module imported and works (PSD1/PSM1 with public/private functions) and comment‑based help generated by AI are shown, plus a failed GUI prototype and notes on publishing to the PowerShell Gallery.
AI-written summary · about
chapters (10)
- 0:00Toolmaking with PowerShell
- 4:25Toolmaker vs consumer mindset
- 9:44Command line to modules
- 17:25Script files for repeatability
- 24:25Functions to avoid duplication
- 26:56Building PowerShell modules
- 33:21CRUD in tool design
- 37:54Output formats for tools
- 41:07Error handling best practices
- 45:04Resources and closing
related talks
01h 29mModularizing PowerShell: Making Code Portable
01h 45mWriting Award Winning PowerShell Functions and Script Modules
43mPowerShell Tooling
51mPowerShell module toolbox and templates for Continuous Delivery
03h 04mMastering Making Modules
37mUsing Windows PowerShell to create scripts your users want to use
47mThe Human Side of PowerShell Scripting
45mBullet-proofing Patterns & Practices
