mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-26 01:43:37 +01:00
Simpe rename
This commit is contained in:
parent
07444ceb70
commit
06d3c1c03d
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Closes the calculator app
|
Closes the calculator application
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the calculator application gracefully.
|
This script closes the calculator application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-calculator-app
|
PS> ./close-calculator
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
||||||
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
TaskKill /im Calculator.exe /f /t
|
TaskKill /im Calculator.exe /f /t
|
||||||
if ($lastExitCode -ne "0") {
|
if ($lastExitCode -ne "0") {
|
||||||
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close the calculator application"
|
& "$PSScriptRoot/speak-english.ps1" "Sorry, no calculator application is running."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Git Extensions application gracefully.
|
This script closes the Git Extensions application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-git-extensions-app
|
PS> ./close-git-extensions
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Netflix application gracefully.
|
This script closes the Netflix application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-netflix-app
|
PS> ./close-netflix
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Notepad application gracefully.
|
This script closes the Notepad application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-notepad-app
|
PS> ./close-notepad
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Spotify application gracefully.
|
This script closes the Spotify application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-spotify-app
|
PS> ./close-spotify
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Mozilla Thunderbird email application gracefully.
|
This script closes the Mozilla Thunderbird email application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-thunderbird-app
|
PS> ./close-thunderbird
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Microsoft Visual Studio application gracefully.
|
This script closes the Microsoft Visual Studio application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-visual-studio-app
|
PS> ./close-visual-studio
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Windows Terminal application gracefully.
|
This script closes the Windows Terminal application gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-windows-terminal-app
|
PS> ./close-windows-terminal
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Launches the calculator app
|
Launches the calculator application
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the calculator application.
|
This script launches the calculator application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-calculator-app
|
PS> ./open-calculator
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Git Extensions application.
|
This script launches the Git Extensions application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-git-extensions-app
|
PS> ./open-git-extensions
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Netflix application.
|
This script launches the Netflix application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-netflix-app
|
PS> ./open-netflix
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Notepad application.
|
This script launches the Notepad application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-notepad-app
|
PS> ./open-notepad
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Spotify application.
|
This script launches the Spotify application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-spotify-app
|
PS> ./open-spotify
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Mozilla Thunderbird email application.
|
This script launches the Mozilla Thunderbird email application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-thunderbird-app
|
PS> ./open-thunderbird
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Microsoft Visual Studio application.
|
This script launches the Microsoft Visual Studio application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-visual-studio-app
|
PS> ./open-visual-studio
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Windows Terminal application.
|
This script launches the Windows Terminal application.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-windows-terminal-app
|
PS> ./open-windows-terminal
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
Loading…
Reference in New Issue
Block a user