New RDMSession not shown in RDM

New RDMSession not shown in RDM

avatar

I can connect the datasource and get sessions with powershell now.

$datasource = Get-RDMDataSource | where
{$_.Name -eq "ConnectionName"}

Set-RDMDataSource -DataSource $datasource

Get-RDMSession -GroupName TestTL -Name testerino

But when i want to create a new RDM Session with
New-RDMSession -Type RDPConfigured -Name TestTLSession -Group TestTL -Host supertollerserver
theres is no error, but the Session is not shown in the RDM in the directory „TestTL“.

I cant find the connection name in the dbo.connections datatable either.

Is there something i forgot in the command?

All Comments (1)

avatar

Hello,

To create a session, once the object created, you need to save it in the data source.

You can either use the -SetSession switch with the New-RDMSession cmdlet.

New-RDMSession -Type RDPConfigured -Name TestTLSession -Group TestTL -Host supertollerserver -SetSession


Or with Set-RDMSession cmdlet.

$session = New-RDMSession -Type RDPConfigured -Name TestTLSession -Group TestTL -Host supertollerserver
Set-RDMSession $session


Let us know if that works.

Best regards,

Érica Poirier