1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2024-12-16 11:40:53 +01:00
PowerShell/Scripts/merry-christmas.ps1
2022-11-18 16:54:04 +01:00

18 lines
414 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
.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