PowerShell/Scripts/close-notepad.ps1

16 lines
322 B
PowerShell
Raw Normal View History

<#
.SYNOPSIS
Closes the Notepad app
.DESCRIPTION
This script closes the Notepad application gracefully.
.EXAMPLE
2021-11-29 10:44:26 +01:00
PS> ./close-notepad
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
2021-11-23 22:12:27 +01:00
& "$PSScriptRoot/close-program.ps1" "Notepad" "notepad" "notepad"
exit 0 # success