~/talk

Pimp Your Parameters: The Magic of PowerShell Argument..

slides:none on file

Explains how actual PowerShell argument completers are implemented and demoed: static ValidateSet and enum examples, dynamic completers that list services and processes, a REST-backed dog‑breed and country completer that breaks when the API is down, and an Octopus Deploy module with ~80 functions wired to the same completers. Shows using register-argument-completer reuse, how to return CompletionResult with icons and tooltips, and the newer class-based argument completers (PowerShell 7.2/7.3) plus notes on caching and error handling.

AI-written summary · about

  1. 0:00Argument completers in PowerShell
  2. 1:14What are argument completers
  3. 3:24Static tab completion with ValidateSet
  4. 4:08Dynamic completers with script blocks
  5. 7:06Dynamic completers with icons
  6. 8:33Respect user input in completers
  7. 11:47Filter results by input
  8. 16:00Fake bound parameters for context
  9. 18:29REST API in completers
  10. 23:15Reuse completers across functions
  11. 26:54Register completers outside functions
  12. 29:37Octopus Deploy example
  13. 32:08Class-based argument completers
  14. 38:35Best practices for completers
  15. 39:41Q&A on caching and errors
~/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.