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?

Clock3 mths

Hello,

What version of RDM are you using?

Best regards,



Érica Poirier

signaturesignature

Clock3 mths

Version 13.0.19.0 64-bit

Clock3 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

signaturesignature

Clock3 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

Clock3 mths

Hello,

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

Best regards,



Érica Poirier

signaturesignature

Clock3 mths