mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-02 12:54:51 +01:00
19 lines
369 B
PowerShell
19 lines
369 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Answers to 'bye bye'
|
|
.DESCRIPTION
|
|
This script says a reply to "bye bye" by text-to-speech (TTS).
|
|
.EXAMPLE
|
|
PS> ./bye-bye
|
|
.NOTES
|
|
Author: Markus Fleschutz · License: CC0
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
#>
|
|
|
|
$Reply = "Good bye.", "See you.", "Bye bye." | Get-Random
|
|
|
|
"$Reply"
|
|
& "$PSScriptRoot/speak-english.ps1" "$Reply"
|
|
exit 0 # success
|