mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-23 23:29:02 +01:00
Update say-hello.ps1
This commit is contained in:
parent
13aacff361
commit
66329b9b2b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user