mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Add greeting scripts
This commit is contained in:
parent
0e153338a9
commit
68c00db77a
17
Scripts/happy-christmas.ps1
Normal file
17
Scripts/happy-christmas.ps1
Normal 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
17
Scripts/happy-easter.ps1
Normal 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-fathers-day.ps1
Normal file
17
Scripts/happy-fathers-day.ps1
Normal 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-halloween.ps1
Normal file
17
Scripts/happy-halloween.ps1
Normal 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-hanukkah.ps1
Normal file
17
Scripts/happy-hanukkah.ps1
Normal 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-holidays.ps1
Normal file
17
Scripts/happy-holidays.ps1
Normal 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
17
Scripts/happy-kwanzaa.ps1
Normal 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-mothers-day.ps1
Normal file
17
Scripts/happy-mothers-day.ps1
Normal 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-new-year.ps1
Normal file
17
Scripts/happy-new-year.ps1
Normal 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
17
Scripts/happy-ramadan.ps1
Normal 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-saint-patricks-day.ps1
Normal file
17
Scripts/happy-saint-patricks-day.ps1
Normal 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-thanksgiving.ps1
Normal file
17
Scripts/happy-thanksgiving.ps1
Normal 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-valentines-day.ps1
Normal file
17
Scripts/happy-valentines-day.ps1
Normal 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/merry-christmas.ps1
Normal file
17
Scripts/merry-christmas.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user