Trying to create a couple of batch files to start / stop services on a remote server (still on internal network)
Dont want to use PowerShell... just create a normal batch file.
Server its running the batch file from is 2016, and the remote server is 2008r2
Tried to do
sc \\machine stop "service"
but get an error
[SC] ControlService FAILED 1062
The service has not been started.
what have i done wrong?