Code Smells in AI Generated PowerShell
What is a Code Smell Code smell is an informal term for a pattern in source code that suggests a deeper design problem, even though the code is not technically wrong and may still work. Code smells...
What is a Code Smell Code smell is an informal term for a pattern in source code that suggests a deeper design problem, even though the code is not technically wrong and may still work. Code smells...
Introduction Error handling in PowerShell is typically managed through the try/catch/finally pattern; however, when building complex automations you may start to notice reoccuring error patterns a...
Credential Management Automation often requires securely storing credentials so scripts can interact with protected systems. Because credentials are sensitive, mishandling them can expose entire sy...
Organization Matters As PowerShell projects grow beyond a few scripts, their complexity can become overwhelming, derailing progress and leaving you feeling disorganized. In this post, I’ll share an...
Why logging matters Logging acts as a communication layer between your code’s execution and you, which creates an audit trail of observable data related to the execution. This hilights two key adva...