mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 04:24:01 +01:00
19 lines
390 B
PowerShell
Executable File
19 lines
390 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
Say an answer to 'thank you'
|
|
.DESCRIPTION
|
|
This script answers to "thank you" by text-to-speech (TTS).
|
|
.EXAMPLE
|
|
PS> ./thank-you
|
|
.NOTES
|
|
Author: Markus Fleschutz · License: CC0
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
#>
|
|
|
|
$Answer = "It's a pleasure.", "Never mind." | Get-Random
|
|
|
|
& "$PSScriptRoot/speak-english.ps1" "$Answer"
|
|
write-output "$Answer"
|
|
exit 0 # success
|