How to Satisfy Your OCD with PowerShell Code and Tools
summary
Describes a reproducible workflow that enforces consistent PowerShell style by using PowerShell Core and Visual Studio Code plus tools that read the AST to autoformat and lint code. Covers concrete use of linting, unit tests and integration tests in CI so scripts behave the same on Windows, Linux and macOS, and demonstrates a prototype formatter/analytics project while noting its current limitations and tradeoffs.
AI-written summary · about
chapters (8)
- 0:00PowerShell obsession
- 4:50Universal PowerShell tool
- 10:48Industrializing scripts
- 15:55Testing scripts
- 21:48Managing scripts
- 25:45PowerShell in enterprise
- 27:50PowerShell performance
- 30:26Q&A
related talks
44mPowerShell Script Analyzer: Good, consistent and pretty code
01h 03mThe Zen of Powershell - PowerShell for the C# dev
43mPowerShell For Every System
01h 29mModularizing PowerShell: Making Code Portable
39mLinux Shell Debates or: How I Stopped Worrying and Learned to Love PowerShell
35mIaC Automated Assurance
01h 07mPowerShell: Designed for a Messy World
01h 28mWriting Compiled PowerShell Cmdlets
