Create sessions via CLI

0 vote

avatar

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.

All Comments (3)

avatar

Stéfane Lavergne

avatar

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.

avatar

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

Stéfane Lavergne