The first two non-comment, non-blank lines in a PowerShell script should include: * `Set-PSDebug -Strict` (equivalent of POSIX sh `set -u`) * `$ErrorActionPreference = "Stop"` (equivalent of POSIX sh `set -e`)
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)