From 49360833f161feeb88b9f1d4ce0422e1c924ce20 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 10 Dec 2021 19:31:45 +0100 Subject: [PATCH] Add hello.ps1 --- Scripts/hello.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Scripts/hello.ps1 diff --git a/Scripts/hello.ps1 b/Scripts/hello.ps1 new file mode 100644 index 00000000..eb687f03 --- /dev/null +++ b/Scripts/hello.ps1 @@ -0,0 +1,17 @@ +<# +.SYNOPSIS + Replies to "Hi" +.DESCRIPTION + This script replies to 'Hi' by text-to-speech (TTS). +.EXAMPLE + PS> ./hi +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +$Reply = "Hey!", "Hello!", "Hi there!", "Hey there!", "Hey! How's it going?", "What's up?", "What's happening?", "How goes it?" | Get-Random + +& "$PSScriptRoot/give-reply.ps1" "$Reply" +exit 0 # success