[EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

> I went to this webpage
> 
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360649
> 
> Isn't it supposed to run on the network and close the connected
> machine.

That code uses the windows libraries on the machine it is run on to 
generate a request to the networked machine to shutdown. The code 
executes locally and sends the request over the network.

> Every help is appreciate,
> 

If you have some way of remotely running programs on the windows 
machine(ssh, telnet, etc.), you might try pstools:

http://www.sysinternals.com/Utilities/PsTools.html

specifically, psshutdown.

max

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to