This fast-paced, hands-on 75-minute PowerShell session focuses on practical techniques of basic functions, turning a basic function into an ‘advanced’ function, leveraging Get-Help in code, and deploying a custom module.
- Build a reusable basic function (parameters + consistent object output) and refactor an ad-hoc script into a clean command.
- Upgrade to an advanced function using [CmdletBinding()], pipeline input, begin/process/end, validation, parameter sets, and error-handling patterns.
- Add comment-based help so Get-Help provides discoverable synopsis/parameter info and examples.
- Package and deploy as a custom module (.psm1 + .psd1), control exports, version the module, and verify with Import-Module/Get-Command/Get-Help.
You will learn:
- Leverage Functions for easier PowerShell usage.
- Converting basic functions to an advanced function for more control.
- Creating a custom module for easier deployment and usage.