PowerShell/Scripts/hello.ps1
Markus Fleschutz 49360833f1 Add hello.ps1
2021-12-10 19:31:45 +01:00

18 lines
420 B
PowerShell

<#
.SYNOPSIS
Replies to "Hi"
.DESCRIPTION
This script replies to 'Hi' by text-to-speech (TTS).
.EXAMPLE
PS> ./hi
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "Hey!", "Hello!", "Hi there!", "Hey there!", "Hey! How's it going?", "What's up?", "What's happening?", "How goes it?" | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success