~/talk

Building and Publishing Reusable PowerShell Tools

links:none on file
slides:none on file

Shows how a small reusable module is built and actually used: a concrete Export-LogicAppDefinition function that converts Azure Logic App definitions to JSON files, adds parameter validation, try/catch error handling, pipeline processing and comment‑based help, and becomes a PSM1 + PSD1 module. Uses PS Script Analyzer and platyPS for linting and help, stores an API key and then publishes to PowerShell Gallery via GitHub Actions that build test and release on merge — the exports and CI run successfully.

AI-written summary · about

  1. 0:00Introduction
  2. 3:21Problems solved with PowerShell
  3. 8:17Reusable functions from CLI
  4. 11:29Parameter validation and errors
  5. 17:03Try-catch error handling
  6. 23:32Pipeline input processing
  7. 28:37Documentation with comment-based help
  8. 30:27PowerShell best practices
  9. 33:19Building PowerShell modules
  10. 37:35Publishing to PowerShell Gallery
  11. 39:27Automated module testing
  12. 41:35Recap and call to action
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.