PowerShell/scripts/close-calculator.ps1
2023-10-31 12:12:58 +01:00

16 lines
318 B
PowerShell
Executable File

<#
.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