Update say-hello.ps1

This commit is contained in:
Markus 2021-12-07 17:28:53 +01:00
parent 13aacff361
commit 66329b9b2b

View File

@ -11,10 +11,6 @@
https://github.com/fleschutz/PowerShell
#>
try {
& "$PSScriptRoot/give-reply.ps1" "Hello, everyone."
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}
& "$PSScriptRoot/give-reply.ps1" "Hello everyone."
exit 0 # success