mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 16:33:20 +01:00
18 lines
428 B
PowerShell
Executable File
18 lines
428 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
Replies to "Give me five"
|
|
.DESCRIPTION
|
|
This PowerShell script replies to 'Give me five' by text-to-speech (TTS).
|
|
.EXAMPLE
|
|
PS> ./give-me-five
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
.NOTES
|
|
Author: Markus Fleschutz / License: CC0
|
|
#>
|
|
|
|
$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
|