PowerShell/Scripts/close-calculator.ps1
2022-12-14 08:49:05 +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