mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Rename to open/close-*-app.ps1
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
.DESCRIPTION
|
||||
This script closes the calculator application gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-calculator
|
||||
PS> ./close-calculator-app
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
TaskKill /im Calculator.exe /f /t
|
||||
if ($lastExitCode -ne "0") {
|
||||
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close calculator"
|
||||
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close the calculator application"
|
||||
exit 1
|
||||
}
|
||||
exit 0 # success
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Closes the Netflix application
|
||||
Closes the Netflix app
|
||||
.DESCRIPTION
|
||||
This script closes the Netflix application gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-netflix
|
||||
PS> ./close-netflix-app
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Starts the calculator app
|
||||
Launches the calculator app
|
||||
.DESCRIPTION
|
||||
This script launches the calculator application.
|
||||
.EXAMPLE
|
||||
PS> ./open-calculator
|
||||
PS> ./open-calculator-app
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Starts the Netflix app
|
||||
Launches the Netflix app
|
||||
.DESCRIPTION
|
||||
This script launches the Netflix application.
|
||||
.EXAMPLE
|
||||
PS> ./open-netflix
|
||||
PS> ./open-netflix-app
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
Reference in New Issue
Block a user