mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-16 11:40:53 +01:00
18 lines
357 B
PowerShell
18 lines
357 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Replies 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
|
|
|
|
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
|
exit 0 # success
|