Improve the close- scripts

This commit is contained in:
Markus Fleschutz 2021-04-07 14:37:12 +02:00
parent c65d4455e6
commit 6cf41e4221
10 changed files with 19 additions and 10 deletions

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "Calculator" "Calculator" "calc"
& "$PSScriptRoot/close-program.ps1" "Calculator" "Calculator" "calc"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "Google Chrome" "chrome"
& "$PSScriptRoot/close-program.ps1" "Google Chrome" "chrome" "chrome"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "Cortana" "Cortana"
& "$PSScriptRoot/close-program.ps1" "Cortana" "Cortana" "Cortana"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "Microsoft Edge" "msedge"
& "$PSScriptRoot/close-program.ps1" "Microsoft Edge" "msedge" "msedge"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "File Explorer" "explorer"
& "$PSScriptRoot/close-program.ps1" "File Explorer" "explorer" "explorer"
exit 0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh
<#
.SYNTAX ./close-program.ps1 [<full-program-name>][<program-name>] [<program-alias-name>]
.SYNTAX ./close-program.ps1 [<full-program-name>] [<program-name>] [<program-alias-name>]
.DESCRIPTION closes the processes of the given program gracefully
.LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "System Settings" "SystemSettings"
& "$PSScriptRoot/close-program.ps1" "System Settings" "SystemSettings" "SystemSettings"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "Mozilla Thunderbird" "thunderbird"
& "$PSScriptRoot/close-program.ps1" "Mozilla Thunderbird" "thunderbird" "thunderbird"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "VLC media player" "vlc"
& "$PSScriptRoot/close-program.ps1" "VLC media player" "vlc" "vlc"
exit 0

View File

@ -6,4 +6,5 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
./close-program "Windows Terminal" "WindowsTerminal"
& "$PSScriptRoot/close-program.ps1" "Windows Terminal" "WindowsTerminal" "WindowsTerminal"
exit 0