PowerShell/Scripts/give-me-five.ps1

18 lines
428 B
PowerShell
Raw Normal View History

2021-12-10 15:43:47 +01:00
<#
.SYNOPSIS
Replies to "Give me five"
.DESCRIPTION
2022-01-29 12:47:46 +01:00
This PowerShell script replies to 'Give me five' by text-to-speech (TTS).
2021-12-10 15:43:47 +01:00
.EXAMPLE
PS> ./give-me-five
.LINK
https://github.com/fleschutz/PowerShell
2022-01-29 12:47:46 +01:00
.NOTES
Author: Markus Fleschutz / License: CC0
2021-12-10 15:43:47 +01:00
#>
$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