Tag:scripting
All the articles with the tag "scripting".
Parse git merge commit messages
PowerShell function with regex patterns to parse git's auto-generated merge commit messages and extract branch names.
PowerShell $PSScriptRoot vs dot-sourcing
Bug in PowerShell 2 where dot-sourcing overwrites $PSScriptRoot; workaround using a function instead of a variable.
PowerShell script best practices
Best practices for PowerShell scripts: error handling preamble, strict mode, PSScriptRoot, and readability rules.