Skip to content

Commit 71c2b76

Browse files
authored
Added erroractionpreference variable setting
1 parent 3001361 commit 71c2b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ You will need to import the module file into the example script before trying an
1010

1111
Example:
1212
```
13+
$ErrorActionPreference = "stop" # To stop the script on any errors
1314
Import-Module "C:\OpConModule.psm1" -Force
1415
```
1516

0 commit comments

Comments
 (0)