From 33014c6db1ce757d0ffa065e6c9924ac4db1cacc Mon Sep 17 00:00:00 2001 From: nitzmahone Date: Mon, 4 Jan 2016 16:05:43 -0800 Subject: [PATCH] fix win_file to stop on errors --- windows/win_file.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/windows/win_file.ps1 b/windows/win_file.ps1 index f387780123c..958f9f04fcc 100644 --- a/windows/win_file.ps1 +++ b/windows/win_file.ps1 @@ -17,6 +17,8 @@ # WANT_JSON # POWERSHELL_COMMON +$ErrorActionPreference = "Stop" + $params = Parse-Args $args # path