The Full Show
summary
Shows concrete techniques and measurable outcomes: uses splatting, PSDDefaultParameterValues, dynamic parameters and parameter-set names to auto-generate routes, and update-typeData to add an OlderThan method and a GetValueOrDefault helper for hashtables. Benchmarks show file class wins full-file reads, while switch/streamreader wins single-line search and Get-Content is slow. For collections .Where/.ForEach outperform legacy Where-Object; a math max scan often beats sort/MeasureObject for large arrays. Schema validation is more informative but slower: JSON schema returns all validation errors.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 6:25PowerShell splatting techniques
- 11:29PSDefaultParameterValues
- 18:17Performance testing file reading
- 27:26Advanced error handling
- 37:48ValidateSet and enum
- 44:16Custom classes in PowerShell
- 54:18Parameter set names
- 1:05:31Extending types with Update-TypeData
- 1:15:14Max values in arrays
- 1:22:12JSON schema validation
- 1:30:50Performance and closing
related talks
51mPowerShell Techniques and Performance Tweaks - Full Throttle
51mBeyond Arrays: PowerShell Collections for Speed & Scale
01h 02mApplication Performance Optimisation in Practice
34mWhip Your Scripts into Shape: Optimizing PowerShell for Speed
32mWhat the game industry taught me about performance
46mSupercharging PowerShell with LINQ
55mKeynote: Aaron Patterson
01h 02mThe performance loop—A practical guide to profiling and benchmarking
