Users

All Posts (2)

avatar

rdms

Batch rename Session names of groups with Powershell

avatar
avatar
avatar

Thank you very much

Batch rename Session names of groups with Powershell

avatar
avatar
avatar

Hi Devolutions,

Im trying to batch rename group folders with powershell, but when I look into the powershell properties. I see the Name is changed, but the rest is not, like

NameExpanded

NameFormatted

NameFull

The above propertys still have the old name, while Name is changed successfully.

Changing the name manually from within RDMS, all those properties are changed as well.

The powershell script for 1 entry right now is:

$list = Get-RDMSession | Where {$_.group -eq "PATH\GROUPNAME"}

$list.Name = "NEW NAME"

Set-RDM-Session $list

Is there a way to batch edit multiple group names?

1 - 2 of 2 items