mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 12:34:25 +01:00
18 lines
523 B
PowerShell
Executable File
18 lines
523 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
Replies to 'thank you'
|
|
.DESCRIPTION
|
|
This script replies to 'thank you' by text-to-speech (TTS).
|
|
.EXAMPLE
|
|
PS> ./thank-you
|
|
.NOTES
|
|
Author: Markus Fleschutz · License: CC0
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
#>
|
|
|
|
$Reply = "You're welcome.", "You're very welcome.", "That's all right.", "No problem.", "No worries.", "Don't mention it.", "It's my pleasure.", "My pleasure.", "Pleasure is mine.", "Glad to help.", "Anytime." | Get-Random
|
|
|
|
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
|
exit 0 # success
|