mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-25 17:33:17 +01:00
18 lines
418 B
PowerShell
Executable File
18 lines
418 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
Replies to "Merry Christmas"
|
|
.DESCRIPTION
|
|
This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS).
|
|
.EXAMPLE
|
|
PS> ./merry-christmas.ps1
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
.NOTES
|
|
Author: Markus Fleschutz | License: CC0
|
|
#>
|
|
|
|
$Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Random
|
|
|
|
& "$PSScriptRoot/speak-english.ps1" "$Reply"
|
|
exit 0 # success
|