Add use of give-reply.ps1

This commit is contained in:
Markus Fleschutz
2021-12-06 17:00:49 +01:00
parent 589ba8e93c
commit 3a0cb4a001
38 changed files with 74 additions and 116 deletions

View File

@ -20,8 +20,7 @@ try {
}
if ("$Reply" -eq "") { $Reply = "No VPN connection available" }
"✔️ $Reply"
& "$PSScriptRoot/speak-english.ps1" "$Reply"
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"