PowerShell/Scripts/bye.ps1
Markus Fleschutz b4c2f03fbe Add bye.ps1
2021-12-10 19:47:36 +01:00

18 lines
353 B
PowerShell

<#
.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