mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-19 00:46:30 +02:00
Renamed folder Scripts to scripts
This commit is contained in:
15
scripts/close-calculator.ps1
Executable file
15
scripts/close-calculator.ps1
Executable file
@@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Closes the calculator application
|
||||
.DESCRIPTION
|
||||
This PowerShell script closes the calculator application gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-calculator
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
Stop-Process -name "CalculatorApp"
|
||||
exit 0 # success
|
Reference in New Issue
Block a user