Best way to shutdown several remote windows 2003 server from 1 ser
- From: David$oegiharto <Davidoegiharto@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 May 2008 21:55:00 -0700
I'm new to WMI programming and I have a case: Shutdown several remote servers
running Windows 2003 x32 and x64 from one server.
The condition are:
1. Servers cannot be shutdown simultaneously - must be shutdown in order.
ex. Specific services on Server A must be stopped first, then when
services are stopped the Server A is shutdown. After server A is shutdown,
then Server B can be shutdown.
I already thought about old fashion way, which is: writing vbscript that
shutdown server A (using command line "shutdown -f -t, etc") and looping
while pinging its IP address, when the feedback is "request time out" then I
continue shutting down server B.
But I'm not sure if this is the best scenario, cause I cannot detect the
services state and I think this scenario is vulnerable.
Thank you for solution in advance.
Regards,
David
.
- Follow-Ups:
- Re: Best way to shutdown several remote windows 2003 server from 1 ser
- From: Gerry Hickman
- Re: Best way to shutdown several remote windows 2003 server from 1 ser
- Prev by Date: Re: Using WMI to List all Locally Installed Software from C#
- Next by Date: How refresh ACPI temperature?
- Previous by thread: Re: Reg Win32 Classes
- Next by thread: Re: Best way to shutdown several remote windows 2003 server from 1 ser
- Index(es):
Relevant Pages
|