Unable to open "Remote Desktop Protocol" (RDP) URLs from command-line
According to Remote Desktop client URI scheme support, the correct syntax is:

open rdp://full%20address=s:localhost


This also works:

open rdp://address=s:localhost




For convenience, the following shell function can be defined:

# Compare two binary files.
# Usage: open-rdp ip.address
open-rdp() {
  open rdp://full%20address=s:$*
}


Note: The above code can be copy &amp; pasted into terminal or added into shell startup rc files.

Usage:

open-rdp IP.Address