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

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Closes the Paint 3D app
.DESCRIPTION
This script closes the Paint 3D application gracefully.
.EXAMPLE
PS> ./close-paint-3d
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
taskkill /im Paint3D
exit 0 # success

View File

@ -1,10 +1,10 @@
<# <#
.SYNOPSIS .SYNOPSIS
Launches the Microsoft Paint app Launches the Paint 3D app
.DESCRIPTION .DESCRIPTION
This script launches the Microsoft Paint application. This script launches the Paint 3D application.
.EXAMPLE .EXAMPLE
PS> ./open-microsoft-paint PS> ./open-paint-3d
.NOTES .NOTES
Author: Markus Fleschutz · License: CC0 Author: Markus Fleschutz · License: CC0
.LINK .LINK