mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-02 19:09:13 +01:00
Add bye.ps1
This commit is contained in:
parent
0d39a0be4f
commit
b4c2f03fbe
17
Scripts/bye.ps1
Normal file
17
Scripts/bye.ps1
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Replies to 'bye'
|
||||||
|
.DESCRIPTION
|
||||||
|
This script says a reply to 'bye' by text-to-speech (TTS).
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./bye
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz · License: CC0
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
#>
|
||||||
|
|
||||||
|
$Reply = "Bye.", "Good bye.", "See you.", "Bye bye." | Get-Random
|
||||||
|
|
||||||
|
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||||
|
exit 0 # success
|
Loading…
Reference in New Issue
Block a user