Add open-spotify.ps1 and close-spotify.ps1

This commit is contained in:
Markus Fleschutz
2021-10-23 17:47:07 +02:00
parent d32c7aba9f
commit f79dde7228
6 changed files with 86 additions and 0 deletions

15
Scripts/close-spotify.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Closes Spotify
.DESCRIPTION
This script closes the Spotify application gracefully.
.EXAMPLE
PS> ./close-spotify
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/close-program.ps1" "Spotify" "spotify" ""
exit 0 # success