From b2e8acc28202569c551a95a41cc4c24cf12f27d1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 17 Aug 2021 20:02:48 +0200 Subject: [PATCH] Add close-firefox.ps1 --- Data/scripts.csv | 1 + README.md | 1 + Scripts/close-firefox.ps1 | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100755 Scripts/close-firefox.ps1 diff --git a/Data/scripts.csv b/Data/scripts.csv index f91f19ac..bb648027 100644 --- a/Data/scripts.csv +++ b/Data/scripts.csv @@ -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 diff --git a/README.md b/README.md index d819dc37..b5bc9bc8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/Scripts/close-firefox.ps1 b/Scripts/close-firefox.ps1 new file mode 100755 index 00000000..d72840d8 --- /dev/null +++ b/Scripts/close-firefox.ps1 @@ -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