Add open-paint-3d.ps1 and close-paint-3d.ps1

This commit is contained in:
Markus Fleschutz
2021-11-09 09:19:14 +01:00
parent 4175c0fa7c
commit e9a860bc3c
2 changed files with 18 additions and 3 deletions

View File

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