Skip to content

Commit d9ad47f

Browse files
ErrorAction
Changed ErrorAction to stop
1 parent ff9bf2f commit d9ad47f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LT-ScriptExport.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828

2929
#region-[Declarations]----------------------------------------------------------
3030

31+
$ErrorActionPreference = "Stop"
32+
3133
$Date = Get-Date
3234

3335
#Get/Save config info

0 commit comments

Comments
 (0)