projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add shebang to all .ps1
[webi-installers/.git]
/
_webi
/
template.ps1
diff --git
a/_webi/template.ps1
b/_webi/template.ps1
index e3f72789bfde93e2ddbedaca2fc3339da122108e..7a72e7008054e60a374347687fa4536e5a5702bf 100644
(file)
--- a/
_webi/template.ps1
+++ b/
_webi/template.ps1
@@
-1,4
+1,6
@@
-# If a command returns an error, halt the script.
+#!/usr/bin/env pwsh
+
+# If a command returns an error, halt the script.
$ErrorActionPreference = 'Stop'
# Ignore progress events from cmdlets so Invoke-WebRequest is not painfully slow