Have you tried mstsc.exe? That might do what you want. Type mstsc.exe /? to get the options for the command.