I have a need for my backup server to stop and then restart a remote server's service to improve throughput. I have the following PSTools command string:
psexec \\xxx.xxx.xxx.xxx -u domain\username-p Password -w C:\services cmd svcstop.bat (opposite is svcstart.bat.)
Everything seems to go well, but this stops at the remote folder C:\services, and then just sit there.
Cam anyone recommend a fix for this, or suggest a better way? The target server is a 2008 R2n and the BU server is a 2008 R2 Enterprise.
Thanks in advance for any input and help.