minor update to improve output

This commit is contained in:
2021-07-29 13:31:55 -04:00
parent c482e0bbc2
commit d2a55b930c
+1 -2
View File
@@ -361,7 +361,7 @@ Function Control-Service
$displayname = """${fullname}"" (${name})"
}
If ( $service.Status -ne $statuscondition ) {
LogMsg " ${verbing} ${displayname}"
LogMsg "${verbing} ${displayname}"
Switch ( $verb) {
'start' {
Try { Start-Service -Name $name }
@@ -373,7 +373,6 @@ Function Control-Service
}
}
}
Else { LogMsg " The ${displayname} service is already ${verbed}" }
}
}
}