Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-02-10 19:25:48 +01:00
parent 47459e0139
commit 60eb59b52a
20 changed files with 26 additions and 23 deletions

View File

@ -28,7 +28,7 @@ try {
if ($ProcessCount -eq 0) {
throw "$FullProgramName is not started yet"
}
write-output "OK - $FullProgramName with $ProcessCount process(es) has been closed."
write-host -foregroundColor green "Done - $FullProgramName with $ProcessCount process(es) has been closed."
exit 0
} catch {
write-error "ERROR in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"