Hey EE! As I near the end of this script file project, I needed to ask how I can apply the actions listed in my batch script to only a few servers. I broke the script into three parts; creating a log file (if one didn't exist and renaming it if it did exist), next, moving the files from the production directory out and copying the new ones in. Lastly, the meat of the script. The services are stopped, files from the prod directory are copied to the server's local directory and services started back up. Each action has a echo command to dump the results.
What I would like to do is list the servers that the last steps needs to apply to, then run the script and it would loop through for each server and when all servers have been touched, the script would end.
I am not a very skilled coding guy so please keep that in mind when you post your suggestions. I may need more info than a simple "do this" or "try that". Thank you in advance!! (If you need to see some of the script, let me know but it's just a batch file).