PowerShell/Scripts/good-evening.ps1

19 lines
390 B
PowerShell
Raw Normal View History

<#
.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
#>
2021-11-26 14:46:14 +01:00
$Answer = "And a special good evening to you too."
write-output "$Answer"
& "$PSScriptRoot/speak-english.ps1" "$Answer"
exit 0 # success