Add greeting scripts

This commit is contained in:
Markus Fleschutz 2021-12-10 19:28:42 +01:00
parent 0e153338a9
commit 68c00db77a
14 changed files with 238 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<#
.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

17
Scripts/happy-easter.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

17
Scripts/happy-kwanzaa.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

17
Scripts/happy-ramadan.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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

View File

@ -0,0 +1,17 @@
<#
.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