0 vote
Under entries within the password list:
These entries can not be added within powershell as the Add function has not been created so it is read only. Please enable this as we need would like to be able to use it.
Thanks
Hello,
As mentioned in the ticket, an engineer will have a closer look on your issue soon as we have asked for a priority increase on this issue. For your information, the internal ticket number is RDMW-6018.
Once an update will be available, we will update this thread.
Thank you for your patience.
Best regards,
Érica Poirier
Hello,
The next RDM version 2020.3.9 will contain a fix to be able to manage Custom values in PasswordList entries.
Here are two different methods to manage them with the RDP PowerShell cmdlets.
To add an item.
$session = Get-RDMSession -Name PasswordList1 $customValuePasswordList = New-Object RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPasswordListCustomValue($session) $customValuePasswordList.Name = “MyName” $customValuePasswordList.Value = “MyValue” $session.Credentials.PasswordList[0].CustomProperties += $customValuePasswordList Set-RDMSession -Session $session Update-RDMUI
To delete an item
$properties = $session.Credentials.PasswordList[0].CustomProperties
# Based on the custom value name that we want to remove
$customProperties = $properties | Where-Object { $_.Name -ne “CustomValueName”}
$session.Credentials.PasswordList[0].CustomProperties = $customProperties
Set-RDMSession -Session $session
Update-RDMUI
Best regards,
Érica Poirier