PowerShell does that by default, and it's my least favorite feature in my most used language.
$ErrorActionPreference = Stop
At the start of almost every script.
PowerShell does that by default, and it's my least favorite feature in my most used language.
$ErrorActionPreference = Stop
At the start of almost every script.