Forum / Remote Desktop Manager - PowerShell Repository

New-RDMSession from Template with moving in a specific Group

Hi everyone,

I am currently writing a script to deploy virtual machines with automatically create new RDM Session from a template.

My string is this:


foreach ($Server in $ServerImport){
New-RDMSession -Host $($server.name) -Name '$HOST$' -TemplateID ca1f86cb-86bd-4807-9337-99a1913e72ae -Group $($server.typ) -Type RDPConfigured -SetSession
Update-RDMUI
}


It works great, but it ignore the "-Group" property. It seems PS use the Group what is configured in the template.
I didn't find nothing to move afterwards or change the group members.

Can someone help me?

Clock5 mths

Hello,

What version of RDM are you using?

Best regards,



Érica Poirier

Customers that use Devolutions Password Server are provided free remote sessions for performing upgrades. Please send a request to the Devolutions Service Desk to get the process started.

signaturesignature

Clock5 mths

Version 13.0.19.0 64-bit

Clock5 mths

Hello,

This issue has been fixed and is included in the latest RDM beta version 13.5.13.0.
You can download this version here : https://remotedesktopmanager.com/home/download#Beta

Best regards,



Érica Poirier

Customers that use Devolutions Password Server are provided free remote sessions for performing upgrades. Please send a request to the Devolutions Service Desk to get the process started.

signaturesignature

Clock5 mths

Thanks it worked.

My String with variable will work with this parameter if someone will need this:

New-RDMSession -Host $($Servername) -Name '$HOST$' -TemplateID "Template-ID" -Group 1_Servers\"$($Foldername)" -Type RDPConfigured -SetSession

Clock5 mths

Hello,

Thank you for your feedback and sharing this with the community smile

Best regards,



Érica Poirier

Customers that use Devolutions Password Server are provided free remote sessions for performing upgrades. Please send a request to the Devolutions Service Desk to get the process started.

signaturesignature

Clock5 mths