|
#1
|
|||
|
|||
|
Shutdown remote computer
Hello, Does anyone have any advice on an easier way to shutdown a remote computer other than using the Initiate Shutdown command? Thank you, Chris |
|
#2
|
|||
|
|||
|
Re: Shutdown remote computer
"Chris" <cjc@precisionelectronics.net> wrote in message news:3c763d98@10.1.10.29...
> > Hello, > > Does anyone have any advice on an easier way to shutdown a remote computer > other than using the Initiate Shutdown command? > Whats wrong with the InitiateSystemShutdown function? Thats what its designed for. -- Dean Earley (dean.earley@icode.co.uk) Assistant Developer iCode Systems |
|
#3
|
|||
|
|||
|
Re: Shutdown remote computer
Chris,
> Does anyone have any advice on an easier way to shutdown a remote computer > other than using the Initiate Shutdown command? Well, that API is pretty easy... However, if both the local computer and remote computer(s) are running WMI (W2k+, or installed from MS on NT 4.0 or Win9x), then you could look at: http://gethelp.devx.com/techtips/nt_...minNT0102/10mi nNT0102.asp The actual WMI code is only a few lines -- all the rest of the project is the GUI stuff plus a couple of API calls for auxiliary information. In fact, with a couple of simple mods, you could take the WMI code, and put it in a script and run it from there. -- L.J. Johnson, Slightly Tilted Software Microsoft MVP (Visual Basic) LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org <http://www.SlightlyTiltedSoftware.com> Ask The NT Pro at <http://www.devx.com/gethelp> |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|