PowerShell/Scripts/good-evening.ps1
2021-11-27 14:16:50 +01:00

19 lines
390 B
PowerShell

<#
.SYNOPSIS
Say an answer to 'good evening'
.DESCRIPTION
This script answers "good evening" by text-to-speech (TTS).
.EXAMPLE
PS> ./good-evening
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Answer = "And a special good evening to you too."
& "$PSScriptRoot/speak-english.ps1" "$Answer"
write-output "$Answer"
exit 0 # success