2024-10-01 15:11:03 +02:00
|
|
|
|
<#
|
2021-11-23 22:03:30 +01:00
|
|
|
|
.SYNOPSIS
|
|
|
|
|
Closes the Notepad app
|
|
|
|
|
.DESCRIPTION
|
2022-01-29 12:47:46 +01:00
|
|
|
|
This PowerShell script closes the Notepad application gracefully.
|
2021-11-23 22:03:30 +01:00
|
|
|
|
.EXAMPLE
|
2024-05-29 18:28:42 +02:00
|
|
|
|
PS> ./close-notepad.ps1
|
2021-11-23 22:03:30 +01:00
|
|
|
|
.LINK
|
|
|
|
|
https://github.com/fleschutz/PowerShell
|
2022-01-29 12:47:46 +01:00
|
|
|
|
.NOTES
|
2022-09-06 21:42:04 +02:00
|
|
|
|
Author: Markus Fleschutz | License: CC0
|
2021-11-23 22:03:30 +01:00
|
|
|
|
#>
|
|
|
|
|
|
2021-11-23 22:12:27 +01:00
|
|
|
|
& "$PSScriptRoot/close-program.ps1" "Notepad" "notepad" "notepad"
|
2021-11-23 22:03:30 +01:00
|
|
|
|
exit 0 # success
|