Users

All Posts (4)

avatar

quilleo

creating a new DS entry from an existing entry using the new Devolutions.Server module

avatar
avatar
avatar

Thanks! That worked to create a new entry (with a slight change to line 2 - substituted variable name $SSHTunnelEntry with $oldEntry which was probably just a copy/paste issue).

Is this worth creating a new sample script in the Samples directory for this called CopyDSEntry.ps1 or CloneDSEntry.ps1 or something like that?

I could do a PR for this but seems probably overkill for that.

Thanks again. I will attempt to implement using this method.

Ed

creating a new DS entry from an existing entry using the new Devolutions.Server module

avatar
avatar
avatar

Looking at the module and the cmdlets it is not obvious to me how best to create a new DS entry by 'cloning' an existing entry. The RDM module had a concept of using a template to create a new session.

I would like all the settings to be maintained in the 'template' entry (can just be a normal entry) and then clone it with a new name and placed in a different group.

Any suggestions?

Thanks

Ed

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

avatar
avatar

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

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

avatar
avatar

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

1 - 4 of 4 items