c# - Give commands to multiple RDP and wait for result -
i have repetitive task @ end of month give commands multiple remote desktop connections (win7, win server 2008, win server 2012, win 8 ...) , need open of them 1 one task. want somekind of tool log on each , every 1 of them , give commands. here tried : public form1() { initializecomponent(); rdp.server = "1.2.3.4"; rdp.username = "rmlabuser2"; imstscnonscriptable secured = (imstscnonscriptable)rdp.getocx(); secured.cleartextpassword = "rmlabuser2"; rdp.connect(); // open cmd.exe , give commands ver , return output message text box // rdp.securedsettings.startprogram = @"c:\windows\system32\cmd.exe"; } full code : http://www.codeproject.com/articles/43705/remote-desktop-using-c-net any ideeas? thanks. you can use psexec run commands on remote computer. if need run commands within active session, can create scheduled task on computer needed stuff. scheduled tasks can configured run unde...