Hello.
Is it possible to open a saved session from the command line using a host value?
Hello Alex,
If you go in the properties of an entry, under Entry Information, you can copy the command line to execute the entry. You can then create a shortcut or run it directly from the cmd.
Best regards,
Richard Boisvert
In your method, entry is identified by the Entry ID. I need to open a session through the command line, identifying entry by Host value (DNS name, Ip Address).
Hello Alex,
Unfortunately, you cannot open RDM to launch a connection that way. I assume you want to launch it similarly to mstsc /v:computername
If you have the Enterprise version, you can use PowerShell to create an entry, and then launch that session with the ID. Here is a simple example.
$rdp = New-RDMSession -Name "$computername" -Type RDPConfigured $rdp.Host = "Name or IP of machine" Set-RDMSession $rdp -Refresh #returns the ID of the entry $rdp.ID
Alternately, you could use the Quick Connect at the top of RDM, simply put the name or IP of the machine you want to connect to:
Best regards,
Richard Boisvert
OK, thanks.