PowerShell Oddities & Curiosities: Language Quirks You Forgot (or Never Knew)
summary
Live demos show a usable register-argument-completer that tabs values from a REST API (Star Wars API) and works; the data keyword exists for PSD1 localization but proves fiddly and rarely used; dynamicparam is powerful but its syntax is “brutal” and one-time use left regret; pipeline trap and filter blocks run and catch errors differently; $ExecutionContext and $input reveal surprising behavior; profiler timings show negligible perf differences.
AI-written summary · about
chapters (11)
- 0:00Welcome
- 1:13Register argument completer
- 4:39Data keyword for localization
- 8:56Dynamic parameters
- 11:22Execution context
- 13:29PowerShell filter keyword
- 17:20Input variable pitfalls
- 19:04PowerShell ternary operator
- 22:15Trap for error handling
- 24:03PS drive overview
- 25:05Summary
related talks
01h 03mThe Zen of Powershell - PowerShell for the C# dev
01h 30mConjuring data with APIs
39mLinux Shell Debates or: How I Stopped Worrying and Learned to Love PowerShell
53mState of the Shell
45mPlatform PowerShell
10mHow can you use prompt engineering to debug PowerShell?
34mWhip Your Scripts into Shape: Optimizing PowerShell for Speed
01h 06mA Historical Architectural Tour of PowerShell
