PowerShell/Scripts/close-notepad-app.ps1
2021-11-23 22:12:27 +01:00

16 lines
326 B
PowerShell
Executable File

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