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 on 2015-10-19
Modified on 2015-10-19
Created by Zeev Eisenberg
Downloads: 177

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")