Add give-me-five.ps1

This commit is contained in:
Markus Fleschutz
2021-12-10 15:43:47 +01:00
parent 41e06dd2f8
commit a92090f052
2 changed files with 34 additions and 13 deletions

17
Scripts/give-me-five.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.SYNOPSIS
Replies to "Give me five"
.DESCRIPTION
This script replies to 'Give me five' by text-to-speech (TTS).
.EXAMPLE
PS> ./give-me-five
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "Thanks!", "Hi five.", "Hi five to all of yours.", "Four plus one.", "Three plus two." | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success