Have you tried mstsc.exe? That might do what you want. Type mstsc.exe /? to get the options for the command.
Results that may be inaccessible to you are currently showing.
Hide inaccessible resultsResults that may be inaccessible to you are currently showing.
Hide inaccessible results