mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 06:02:56 +02:00
Renamed to open-notepad.exe and close-notepad.exe
This commit is contained in:
15
scripts/close-notepad.ps1
Executable file
15
scripts/close-notepad.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.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
|
Reference in New Issue
Block a user