Rename to open/close-*-app.ps1

This commit is contained in:
Markus Fleschutz
2021-11-21 12:01:30 +01:00
parent 15e055456a
commit 729054f0d4
5 changed files with 22 additions and 19 deletions

View File

@ -1,20 +0,0 @@
<#
.SYNOPSIS
Starts the calculator app
.DESCRIPTION
This script launches the calculator application.
.EXAMPLE
PS> ./open-calculator
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
try {
start-process ms-calculator:
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}