Hi,

I think maybe this may be off-topic, but I'm looking for suggestions. I'm
designing a process to shutdown all my servers in a certain order in a
WindowsNT and Unix environment, so I think the best way is to write a
script. My problem is that the order involves shutting down NT and Unix
servers mixed, so I want to run the script from just one place and remotely
shutdown each server.

I've thought of running a batch file from my PDC so I can use the shutdown
command from the NT Reskit, and use rsh to the unix servers to do a remote
shutdown, but it is not as straight forward as I thought because I don't
know how to differ a NT server from a Unix one from a batch file. My other
alternative which is my preferred one is to run the script from Unix, so a
rsh is used for the Unix servers, but I don't know how to initialize a
remote shutdown from Unix to NT.

Does any one know of such utility or command that could do the trick? I've
heard that maybe Perl has such capabilities, but my Perl knowledge doesn't
pass from the "Hello World"'s

I'll appreciate any suggestions.

Thanks,

Luis

Reply via email to