I need to do a lot of find/replacing and found the powershell commands to do it. However, I don't know the unique name for each of the fields and so far my guesses have been wrong. For instance: The domain field in folder properties (which entries in the folder inherit)? And the Username in the folder properties (which entries in the folder inherit). Those two would be great, but a list of all of them would be amazing.
Hello,
Thanks for reaching out, the 2 best options I believe would be to either :
$s = (get-rdmsession)[0]
$s | select-object -property *
You would however need to drill down in certain properties with the latter technique.
I hope this helps.
Best regards,
Alex Belisle
Hi,
If you are talking about accessible property for our connection object, the easiest way is to preview an entry clipboard copy in RDM.
That will show you the xml properties used to store all the entry's information. For security reasons, not all properties will be accessible, mainly, clear text password.
To preview the xml, you can right-click on an entry in RDM -> Clipboard -> Copy. You can then switch to the preview tab in the opened window.
Hopefully that answers your question, let me know.
Regards
Jonathan Lafontaine
My colleague Alexandre was faster than me.
Jonathan Lafontaine
Hi,
I do not get all the properties I am looking for.
This is all I get when using home/copy:
<?xml version="1.0"?>
<ArrayOfConnection>
<Connection>
<ConnectionType>SSHShell</ConnectionType>
<CreatedBy>xxxxxxx</CreatedBy>
<CreationDateTime>2023-02-14T16:55:42</CreationDateTime>
<ID>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</ID>
<Name>Something</Name>
<OpenEmbedded>true</OpenEmbedded>
<UpdateDateTime>2023-02-14T18:07:54</UpdateDateTime>
<UpdatedBy>xxxxxxxxxxxxxxxx</UpdatedBy>
<Terminal>
<Host>Something</Host>
<PrivateKeyPromptForPassPhrase>false</PrivateKeyPromptForPassPhrase>
</Terminal>
<TerminalMac />
</Connection>
</ArrayOfConnection>
How would I get the properties in e.g. advanced to set KeepAlive and the timeout?
Unfortunately, for optmization purposes, fields with default values are not exported in our XMLs.
You'll have to modify the value first for them to show up in the preview XML.
Jonathan Lafontaine
Haha,
That did it!
Thanks a bunch, especially for the speedy answer.
My pleasure!
Jonathan Lafontaine