Forum / Remote Desktop Manager - PowerShell Repository

anyone have an example on how to use New-RDMPlaylistshared?

  • Create an Issue
  • Cancel

It is not obvious now how to use this to create a new playlist that connects to an existing rdm session.

It appears it wants me to pass in a object of type Devolutions.RemoteDesktopManager.Business.Connection which I don't know how to construct and assuming I figure that out it doesn't look like it accepts a Group parameter so I can specific which folder to place it in.

Any hints?

Thanks
Ed

Clock3 mths

fyi, I found a workaround using new-rdmsession. here is the code in case it helps someone:

$cpl=new-object -TypeName Devolutions.RemoteDesktopManager.Business.ConnectionPlayListItem
$cpl.ConnectionID="73caa681-38c8-4b27-91e7-xxxxxxxx"
$n="newsessionname"
$g="groupname"
$s=New-RDMSession -type playlist -name $n -Group $g
$s.PlayList.ConnectionPlayList.Add($cpl)
Set-RDMSession -Session $s

Clock3 mths