Hi!
I have a entry template group with some entries
<myTemplateGroup> <entry1> <entry2> <entry3>
Now following code
$entryFolder = "my\folder\name" $entryName = "myEntryName" $entryGroup = $entryFolder + "\" + $entryName $entry = New-RDMSession -Type Group -Group $entryGroup -Name $entryName $entry.GroupDetails.GroupType = "Server" set-RDMSession -Session $entry $tmp = New-RDMSession -Type TemplateGroup -TemplateID $tid -Group $entryGroup
How can I access and change the <entry1> ,<entry2> ,<entry3> before I set it in the database with set-RDMSession -Session $tmp ?
CU,
Timo
Hello Timo,
In your example, $tmp should be an array containing all entries, allowing you to access each one individually (e.g., $tmp[index]). However, after testing, it seems that $tmp currently contains an entry without a name, which is a bug that will be fixed soon. You can safely ignore this unnamed entry for now.
If you need further assistance, please let us know.
Best regards,
Maxime
Hi!
This works for me, thanks.
CU,
Timo