use [shellcheck](https://github.com/koalaman/shellcheck) and [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer)