From 5376c8402db65426b42963b523c2ddb8e7b4b30e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 17 Aug 2021 20:46:51 +0200 Subject: [PATCH] Add close-onedrive.ps1 --- Data/scripts.csv | 1 + README.md | 1 + Scripts/close-onedrive.ps1 | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100755 Scripts/close-onedrive.ps1 diff --git a/Data/scripts.csv b/Data/scripts.csv index ef744460..9c87dab3 100644 --- a/Data/scripts.csv +++ b/Data/scripts.csv @@ -45,6 +45,7 @@ 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-netflix.ps1, closes Netflix gracefully +close-onedrive.ps1, closes Microsoft OneDrive gracefully close-system-settings.ps1, closes the System Settings gracefully close-thunderbird.ps1, closes Mozilla Thunderbird gracefully close-vlc.ps1, closes the VLC media player gracefully diff --git a/README.md b/README.md index 2cc0ac38..4d91c56a 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ Mega Collection of PowerShell Scripts * [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-netflix.ps1](Scripts/close-netflix.ps1) - closes Netflix gracefully +* [close-onedrive.ps1](Scripts/close-onedrive.ps1) - closes Microsoft OneDrive 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 * [close-vlc.ps1](Scripts/close-vlc.ps1) - closes the VLC media player gracefully diff --git a/Scripts/close-onedrive.ps1 b/Scripts/close-onedrive.ps1 new file mode 100755 index 00000000..4105c73f --- /dev/null +++ b/Scripts/close-onedrive.ps1 @@ -0,0 +1,16 @@ +<# +.SYNOPSIS + close-onedrive.ps1 +.DESCRIPTION + Closes Microsoft OneDrive gracefully +.EXAMPLE + PS> .\close-onedrive.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz + License: CC0 +#> + +& "$PSScriptRoot/close-program.ps1" "Microsoft OneDrive" "onedrive.exe" "onedrive.exe" +exit 0