PowerShell/scripts/close-notepad.ps1
2024-10-01 15:11:03 +02:00

16 lines
336 B
PowerShell
Executable File

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