Open-Notepad
Launches the Notepad app
#requires -version 5.1
try {
Start-Process notepad.exe
exit 0 # success
} catch {
"?? ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))"
exit 1
}This script has no configurable parameters.