Have you tried mstsc.exe? That might do what you want. Type mstsc.exe /? to get the options for the command.
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results