PowerShell/scripts/close-calculator.ps1
2024-10-01 15:11:03 +02: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