how can we manipulate commands to edit session names that are nested 3 or 4 folders deep? i can figure out the foreach to get all the sessions and folders, but what command will edit the session name?
Hello,
You can use one of these two methods to change the name of a session.$session.Name = "NewName"Set-RDMSession $session
For more information about the Set-RDMSession cmdlet, please consult this online help page.
https://help.remotedesktopmanager.com/set-rdmsession.htm
OrSet-RDMSessionProperty -ID $session.ID -Property "Name" -Value "NewName" -Refresh
For more information about the Set-RDMSessionProperty cmdlet, please consult this online help page.
https://help.remotedesktopmanager.com/set-rdmsessionproperty.htm
Best regards,
Érica Poirier
Thank you!