mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 20:44:17 +01:00
18 lines
418 B
PowerShell
18 lines
418 B
PowerShell
|
<#
|
|||
|
.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
|