Change Session names with powershell

Change Session names with powershell

avatar

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?

All Comments (2)

avatar

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

Or

Set-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

avatar

Thank you!