PowerShell/Scripts/good-evening.ps1

19 lines
376 B
PowerShell
Raw Normal View History

<#
.SYNOPSIS
2021-12-01 09:57:36 +01:00
Answers to 'good evening'
.DESCRIPTION
2021-12-01 09:57:36 +01:00
This script says a reply to "good evening" by text-to-speech (TTS).
.EXAMPLE
PS> ./good-evening
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
2021-12-01 09:57:36 +01:00
$Reply = "And a special good evening to you too."
2021-11-26 14:46:14 +01:00
2021-12-01 09:57:36 +01:00
"$Reply"
& "$PSScriptRoot/speak-english.ps1" "$Reply"
2021-11-26 14:46:14 +01:00
exit 0 # success