Writing Award Winning PowerShell Functions and Script Modules
summary
Shows concrete recipes for turning one‑liners into reusable tools using PowerShell and PowerShell Core, Visual Studio Code and ISE, GitHub and the PowerShell Gallery; demonstrates parameter validation, CmdletBinding, supports ShouldProcess, pipeline binding, try/catch with ErrorActionPreference, module manifests and custom format XMLs. Builds a reusable mr. toolkit module and a Plaster template for new modules, runs Pester checks, and reports 600,000+ blog hits and a Scripting Games advanced win — the demos create modules, import manifests, and the formatting and tests work.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 0:45About Mike Robbins
- 3:55Who is using BSCode
- 7:24Windows Updates
- 11:09Learning is Not Equal
- 12:51The Thought Process
- 18:02Module Autoloading
- 20:22What is a Function
- 21:17Naming
- 23:48Demo
- 24:06New Module
- 24:45Get Verb
- 26:45Remove PS Version
- 28:20DotSourcing
- 29:08DotSourcing Error
- 31:12Rename
- 31:34No Profile
- 32:45Remove Function
- 33:03Hungarian Notation
- 35:28Variable Name
- 35:59PowerShell Jedi
- 38:06Parameter Naming
- 40:56Calling the function
- 43:38Parameters
- 45:45What If and Confirm
- 46:58Free Book
- 48:23Parameter Validation
- 52:08Dynamic Parameters
related talks
46mFrom Script to Tool: Building Robust, Meaningful Tools with PowerShell
01h 37mMore Game Breaking PowerShell
45mBullet-proofing Patterns & Practices
46mUsing Automation To Elevate Your Code Creation
43mPowerShell Tooling
45mGitHub Actions for Fun and Profit
37mUsing Windows PowerShell to create scripts your users want to use
46mThese Are the Modules You’re Looking For: Packaging and Publishing PowerShell..
