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?
You can use one of these two methods to change the name of a session.
$session.Name = "NewName"
For more information about the Set-RDMSession cmdlet, please consult this online help page.
Set-RDMSessionProperty -ID $session.ID -Property "Name" -Value "NewName" -Refresh
For more information about the Set-RDMSessionProperty cmdlet, please consult this online help page.