mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Improved the scripts
This commit is contained in:
@ -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])"
|
||||
|
Reference in New Issue
Block a user