PowerShell/Scripts/see-you.ps1
Markus Fleschutz 4e41f16a8e Add see-you.ps1
2021-12-01 13:58:43 +01:00

19 lines
369 B
PowerShell

<#
.SYNOPSIS
Answers to 'see you'
.DESCRIPTION
This script says a reply to "see you" by text-to-speech (TTS).
.EXAMPLE
PS> ./see-you
.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