Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Running PS script as task action

$
0
0

I tested by running restart-service -name servicename -force in PS console and it restarted the first service but dependent service was stopped and stayed stopped. It seems that after restart-service -name servicename -force one more line in script is needed start-service -name dependentservicename?


Viewing all articles
Browse latest Browse all 13067

Trending Articles