Overview
Explore essential patterns and practices for creating shareable PowerShell scripts and functions in this conference talk by Joel Bennett from the PowerShell Summit 2023. Delve into topics such as error handling, logging, interface design, and parameter optimization. Learn techniques for writing effective examples, synopses, and tests to enhance code shareability. Discover strategies for customizing output, implementing PS typing, and addressing the distinction between dash computing and ComputerName. Gain valuable insights to improve your PowerShell scripting skills and create more robust, shareable code.
Syllabus
Intro
Who am I
What makes code shareable
Error handling
Trycatch
Logging
Summary
Interfaces
Brainstorming
Writing examples
Writing synopsis
Tests
Parameters
Parameter Names
Distinct
Consistency
Writing a process block
Optimizing the process block
Customizing output
PS typing
Dash Computing vs ComputerName
Taught by
Confreaks