![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Stop a Service
|
||
$srvName = "Alerter"
# Get Service Status $servicePrior = get-Service $srvName $srvName + " Service-Status: " + $servicePrior.status # Stop Service stop-Service $srvName set-Service $srvName -startuptype disabled # Get Service Status $servicePrior = get-Service $srvName $srvName + " Service-Status: " + $servicePrior.status | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |