mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Update the happy-* scripts
This commit is contained in:
parent
038a32f075
commit
4e9e047c05
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Christmas"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Christmas' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-christmas
|
||||
.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
|
||||
$Reply = "Merry Christmas to you, too!", "Happy Christmas to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Easter"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Easter' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-easter
|
||||
.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
|
||||
$Reply = "Happy Easter to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Father's day"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Father's day' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-fathers-day
|
||||
.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
|
||||
$Reply = "Happy Father's day to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Halloween"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Halloween' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-halloween
|
||||
.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
|
||||
$Reply = "Happy Halloween to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Hanukkah"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Hanukkah' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-hanukkah
|
||||
.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
|
||||
$Reply = "Happy Hanukkah to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Holidays"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Holidays' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-holidays
|
||||
.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
|
||||
$Reply = "Happy Holidays to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Kwanzaa"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Kwanzaa' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-kwanzaa
|
||||
.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
|
||||
$Reply = "Happy Kwanzaa to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Mother's day"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Mother's day' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-mothers-day
|
||||
.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
|
||||
$Reply = "Happy Mother's day to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy New Year"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy New Year' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-new-year
|
||||
.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
|
||||
$Reply = "Thank you. Happy New Year to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Ramadan"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Ramadan' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-ramadan
|
||||
.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
|
||||
$Reply = "Happy Ramadan to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy St.Patrick's day"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy St.Patrick's day' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-saint-patricks-day
|
||||
.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
|
||||
$Reply = "Happy St.Patrick's day to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Thanksgiving"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Thanksgiving' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-thanksgiving
|
||||
.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
|
||||
$Reply = "Happy Thanksgiving to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Happy Valentine's day"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Happy Valentine's day' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./happy-valentines-day
|
||||
.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
|
||||
$Reply = "Happy Valentine's day to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
@ -1,17 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Replies to "Hi"
|
||||
Replies to "Merry Christmas"
|
||||
.DESCRIPTION
|
||||
This script replies to 'Hi' by text-to-speech (TTS).
|
||||
This script replies to 'Merry Christmas' by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./hi
|
||||
PS> ./merry-christmas
|
||||
.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
|
||||
$Reply = "Merry Christmas to you, too!", "Happy Christmas to you, too!" | Get-Random
|
||||
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Reply"
|
||||
exit 0 # success
|
||||
|
Loading…
Reference in New Issue
Block a user