How to execute command on remote windows machine

Steven D'Aprano steve at pearwood.info
Tue Sep 3 01:19:13 EDT 2013


On Mon, 02 Sep 2013 21:45:57 -0700, gaurangnshah wrote:

> so is there any way i can execute command from windows machine on remote
> windows machine ?

You are looking for information on "Remote Procedure Calls", or RPC.

There are obvious security implementations from enabling RPC, imagine if 
random people on the internet could shut down whichever processes they 
like on your machine. But having said that, there are a number of 
excellent RPC libraries for Python. Here are two I have (briefly) used:

http://pythonhosted.org/Pyro4/

https://pypi.python.org/pypi/rpyc



-- 
Steven



More information about the Python-list mailing list