mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 04:24:01 +01:00
18 lines
455 B
PowerShell
18 lines
455 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Replies to 'good night'
|
|
.DESCRIPTION
|
|
This script says a reply to 'good night' by text-to-speech (TTS).
|
|
.EXAMPLE
|
|
PS> ./good-night
|
|
.NOTES
|
|
Author: Markus Fleschutz · License: CC0
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
#>
|
|
|
|
$Reply = "Good night to you, too.", "Good night to you, my friend.", "Have a good night. Sleep well.", "Good night and sweet dreams." | Get-Random
|
|
|
|
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
|
exit 0 # success
|