fix service restart command

This commit is contained in:
2021-05-24 12:15:29 -04:00
parent a579452a3a
commit fe5a2ad113
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -318,6 +318,7 @@ Function Control-Service
$StopCmd = $ArgString -replace ' -Restart ', ' -Stop '
$StartCmd = $ArgString -replace ' -Restart ', ' -Start '
Invoke-Expression $StopCmd
Start-Sleep -Seconds 10
Invoke-Expression $StartCmd
Exit
}