Hi all
There is no FileExplorer-Session as type for New-RDMSession. Does something similar exist as a type?
And I tried to make a FileExplorer Template, because I thought it is possible to create such an object that way. The Problem is I have to define a type for New-RDMSession and I dont know how to use the TemplateID attribute. I created a Template like here:
As -Type i took "TemplateGroup" and as -TemplateID the Entry ID of the Template.
Like
$id = [System.guid]::New("854e1237-4087-455d-990f-4ddfe12baf04")
New-RDMSession -Type "TemplateGroup" -Name "FileExplorerTest" -Group "T1" -TemplateID $id -SetSession
Update-RDMUI
or this
New-RDMSession -Type "TemplateGroup" -Name "FileExplorerTest" -Group "T1" -TemplateID "854e1237-4087-455d-90f-4ddfe12baf04" -SetSession Update-RDMUI
Wish you all a nice day:)
Best regards
Rolf
Hello,
Thank you for reporting this issue. I have opened an internal ticket to add the File Explorer connection type to be available when creating entries using the RDM PowerShell module. Once an update will be available, we will update this thread.
Best regards,
Érica Poirier
Hello
Can you still please tell me how to use a Template correctly in Powershell?
Could not figure it out yet.
Thank you :)
Regards
Rolf
Hello,
The command you were using is perfect. You need the ID of the template you want to use to create the entry. If it's a template Group, the cmdlet will require the type to be set as TemplateGroup, otherwise it's the session type you want to create.
New-RDMSession -Type "TemplateGroup" -Name "FileExplorerTest" -Group "T1" -TemplateID "854e1237-4087-455d-90f-4ddfe12baf04" -SetSession
Best regards,
Érica Poirier
Hello,
Be sure that for creating a session from a template, you use the template's type for the Type cmdlet's parameter and of course, the template's ID for the TemplateID cmdlet's parameter.
Best regards,
Érica Poirier