How do I start remote desktop from PowerShell?

From your desktop, you can start an RDP session pointing to a remote system with this:

Start-Process "$env:windir\system32\mstsc.exe" -ArgumentList "/v:$machinename"

Where $machinename is the name of the remote system. You will be prompted for credentials.


Here it is in function format. As alorc said. Paste this into your $profile

    function Start-RDP ($computername)
{
    Start-Process "$env:windir\system32\mstsc.exe" -ArgumentList "/v:$computername"
}

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

mstsc /v:10.10.10.10:3389