<< Back to Script Library

Open in RDM

This action finds a remote connection with the name of the selected resource in Remote Desktop Manager (by Devolutions) and opens it or prompts to select if multiple connections were found.
Version: 1.2.4
Created: 2015-10-19
Modified: 2015-10-19
Creator: Zeev Eisenberg
Downloads: 176
Tags: rdp Remote Desktop
The Script Copy Script Copied to clipboard
#Convert the FQDN into a flat name
If ($args[0].IndexOf(".") -gt -1) { 
    $target = $args[0].Substring(0,$args[0].IndexOf("."))
} else { 
   $target = $args[0] 
}

(New-Object -Com Shell.Application).Open("rdm://find/?host=$target")