I need to write a simple batch file to copy some files from a cluster to another machine. Before these files can be copied, a service needs to be stopped. (I'll then need to re-start the service after the file copy).
If I just use the usual net stop command, the service will just fail over to the other node, correct? If that happens, then the files I need to copy will still be locked.
Is there a command that I can use instead of net stop? Something specific to shutting down a service on a cluster?