How do I start remote desktop from PowerShell?

Josiah picture Josiah · Jun 30, 2014 · Viewed 82.8k times · Source

How do I start an RDP session from powershell? I'm looking to avoid a custom script because I work at an MSP and end up remoting into machines across various domains in a day and so maintaining a selection of scripts across each is not trivial (unless you have a solution to that for me).

Answer

Raf picture Raf · Jun 30, 2014

Same as in command line, you can launch the RDP client as so:

mstsc /v:10.10.10.10:3389