minor update to improve output
This commit is contained in:
@@ -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}" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user