PowerShell/Scripts/happy-fathers-day.ps1

18 lines
381 B
PowerShell
Raw Normal View History

2021-12-10 19:28:42 +01:00
<#
.SYNOPSIS
2021-12-11 15:22:25 +01:00
Replies to "Happy Father's day"
2021-12-10 19:28:42 +01:00
.DESCRIPTION
2021-12-11 15:22:25 +01:00
This script replies to 'Happy Father's day' by text-to-speech (TTS).
2021-12-10 19:28:42 +01:00
.EXAMPLE
2021-12-11 15:22:25 +01:00
PS> ./happy-fathers-day
2021-12-10 19:28:42 +01:00
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
2021-12-11 17:20:46 +01:00
$Reply = "Happy Father's day to you too!" | Get-Random
2021-12-10 19:28:42 +01:00
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success