citronneur / rdpy

Remote Desktop Protocol in Twisted Python
GNU General Public License v3.0
1.67k stars 545 forks source link

Executing batch/script and recieve the result #42

Open badbob opened 9 years ago

badbob commented 9 years ago

Thanks for your project. It's great.

I'm trying to implement a Python script to processing a list of RDP servers and run a batch script with saving results. Can you give me any advice for this task. Thanks a lot.

fxfitz commented 8 years ago

+1

I'm interested in this as well.

Phrozyn commented 8 years ago

I wrote a bash script to call rdpy with a list of hosts using a for loop and redirected output to a file. I'll attempt the equivalent of that in python at some point. I'm still working on this - I have some errors from rdpy that I haven't figured out yet. (failed to auto detect keyboard layout [Errno 2] No such file or directory) https://gist.github.com/Phrozyn/7e62e401638b8ad2ceff38fc53cd4b69