in reply to Re^2: Shuting down servers
in thread Shuting down servers

subhash_fire:

Better. So you have a "poweroff server" command that takes a number and shuts down the appropriate server? So I'm guessing that the poweroff command is not returning until the server actually shuts down.

If that's the case, then perhaps the easiest way would be to use a batch file like:

@echo off start poweroff server 1 start poweroff server 2 start poweroff server 3 start poweroff server 4 start poweroff server 5

That way, the command shell can fire off the five poweroff commands in their own separate processes.

...roboticus

When your only tool is a hammer, all problems look like your thumb.