stank
stank copied to clipboard
warn on missing powershell safety configurations
The first two non-comment, non-blank lines in a PowerShell script should include:
-
Set-PSDebug -Strict(equivalent of POSIX shset -u) -
$ErrorActionPreference = "Stop"(equivalent of POSIX shset -e)