Forum / Remote Desktop Manager - Feature Request

Create sessions via CLI

  • Create an Issue
  • Cancel

Since we create a lot of sessions, I would like to have a way to create these either via CLI or by editing a file. I know there is a configuration XML file, but it is difficult to edit, especially since creating a session via the GUI creates a new unique session ID. CLI would definitely be a better way to go in my opinion as this would make it easier to create, edit, or delete sessions without opening the GUI.

Clock5 yrs

You can use PowerShell

Help Topic
http://help.remotedesktopmanager.com/index.html?powershell_cmdlets.htm

Sample Scripts
http://forum.devolutions.net/forum42-remote-desktop-manager--powershell-repository.aspx

Regards,

Stefane Lavergne

signaturesignature

Clock5 yrs

Ok, thanks! So, I didn't see this, but is there a way to get a specific session by name rather than by list position? There's no syntax help for the command other than the examples provided. I tried looking at get-help Get-RDM-Session, but -Name <name> is not valid.

Clock5 yrs

Use the Where-Object CmdLet (aka where, ?) via the pipeline.

http://technet.microsoft.com/en-us/library/hh849715.aspx

Example:

Get-RDM-Session | where {$_.Name -eq "test" }

Stefane Lavergne

signaturesignature

Clock5 yrs