Add close-firefox.ps1

This commit is contained in:
Markus Fleschutz 2021-08-17 20:02:48 +02:00
parent 783ccc5d40
commit b2e8acc282
3 changed files with 18 additions and 0 deletions

View File

@ -42,6 +42,7 @@ close-chrome.ps1, closes Google Chrome gracefully
close-cortana.ps1, closes Cortana gracefully
close-edge.ps1, closes Microsoft Edge gracefully
close-file-explorer.ps1, closes Microsoft File Explorer gracefully
close-firefox.ps1, closes the Firefox Web browser gracefully
close-program.ps1, closes the given program gracefully
close-system-settings.ps1, closes the System Settings gracefully
close-thunderbird.ps1, closes Mozilla Thunderbird gracefully

1 Script Description
42 close-cortana.ps1 closes Cortana gracefully
43 close-edge.ps1 closes Microsoft Edge gracefully
44 close-file-explorer.ps1 closes Microsoft File Explorer gracefully
45 close-firefox.ps1 closes the Firefox Web browser gracefully
46 close-program.ps1 closes the given program gracefully
47 close-system-settings.ps1 closes the System Settings gracefully
48 close-thunderbird.ps1 closes Mozilla Thunderbird gracefully

View File

@ -81,6 +81,7 @@ Mega Collection of PowerShell Scripts
* [close-cortana.ps1](Scripts/close-cortana.ps1) - closes Cortana gracefully
* [close-edge.ps1](Scripts/close-edge.ps1) - closes Microsoft Edge gracefully
* [close-file-explorer.ps1](Scripts/close-file-explorer.ps1) - closes Microsoft File Explorer gracefully
* [close-firefox.ps1](Scripts/close-firefox.ps1) - closes the Firefox Web browser gracefully
* [close-program.ps1](Scripts/close-program.ps1) - closes the given program gracefully
* [close-system-settings.ps1](Scripts/close-system-settings.ps1) - closes the System Settings gracefully
* [close-thunderbird.ps1](Scripts/close-thunderbird.ps1) - closes Mozilla Thunderbird gracefully

16
Scripts/close-firefox.ps1 Executable file
View File

@ -0,0 +1,16 @@
<#
.SYNOPSIS
close-firefox.ps1
.DESCRIPTION
Closes the Firefox Web browser gracefully
.EXAMPLE
PS> .\close-firefox.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "Mozilla Firefox" "firefox" "firefox"
exit 0