PowerShell/Scripts/bye.ps1

18 lines
353 B
PowerShell
Raw Normal View History

2021-12-10 19:47:36 +01:00
<#
.SYNOPSIS
Replies to 'bye'
.DESCRIPTION
This script says a reply to 'bye' by text-to-speech (TTS).
.EXAMPLE
PS> ./bye
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "Bye.", "Good bye.", "See you.", "Bye bye." | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success