Hacker News new | ask | show | jobs
by amarraja 2261 days ago
$ErrorActionPreference = "Stop"

At the top of the script is the closest I fount to `set -e`