Hello, we have many iDRAC entries where we need to change the HTML Control IDs. Discover does not solve it as it detects the password field wrong (password_hidden instead of just password). So far I found no way to modify the HTML Control ID as batch.
Is this somehow possible, or would this be a feature request for a future build?
Thanks a lot for your help!
Brgds Andreas
Hello,
Thank you for reaching out to Devolutions support. Could you please provide a screenshot of any configured entry ?
Best regards,
Eric St-Martin
Hello, not sure why you need a screenshot for this - what exactly would you like to see?
But I just want to know, if it is possible to select all iDRACs (which are configured as Web Browser (http/https)) and then batch edit the Login, HTML Control ID page. There I want to set the Form ID, Username ID, Password ID and and Login button ID fields to a fixed value I want to enter.
Edit: At the moment I only found Edit, Edit (Special Actions) when selecting multiple entries. But in this menu you are only able to do "Discover HTML Autofill" and "Set Default HTML Autofill". Both is not what I want.
Brgds Andreas
Hello,
You would need to use the following:
$connection.Web.FormId = "TheRooted"; $connection.Web.PasswordControlId = "Password"; $connection.Web.UserNameControlId = "Username"; $connection.Web.SubmitControlId = "[ENTER]"; $RDM.Save();
You would need to Right-Click > Edit > Edit (Special Actions) > Custom Powershell Script > Then run the commands with the necessary changes above.
More information on this here: https://help.remotedesktopmanager.com/pscustomactions.html
Best regards,
Eric St-Martin
Hello,
Perfect - that worked! :) Thanks a lot for your help!
Can I find somewhere a reference about everything that is possible? I also need to set Login, Custom, Custom Script on those entries.
Brgds Andreas
Hello,
We have a Sample section here: https://help.remotedesktopmanager.com/powershell_batchactionssamples.html
It is not a concrete list of everything that is possible but the way I do it is I make a test entry with fake information in the Fields I would like to change.
Once done, you should be able to find it when you right-click on your session and select Clipboard – Copy. You can either paste the information in a text editor or you can use the Preview tab.
I made a quick PDF on how this works, it's attached it to this forum.
Best regards,
Eric St-Martin
CustomPowershellScript.pdf
Hello,
This is perfect - this way I am able to do what I want! :)
The variable is: $connection.Web.CustomJavaScript
Brgds Andreas
Hello,
I think I found a problem. I want to control "$Connection.Web.AutomaticRefresh". If this is enabled i get a "true" from Clipboard, Copy. Now I add this to my script and set it to false ($Connection.Web.AutomaticRefresh = "false";) - but it is not changed. If it is enabled, it stays enabled. I am only able to control the time.
Any idea why?
Brgds Andreas
Hello,
Since this is a Bool, I had to use ( $Connection.Web.AutomaticRefresh = $false; ) to have it removed.
Best regards,
Eric St-Martin
Hello,
OK - this is something I had not thought about. So when I get <AutomaticRefresh>true</AutomaticRefresh> from clipboard, copy I need to think about if it is a Bool and use $false then.
Brgds Andreas
Hello,
Generally if it's a checkbox you will be using $false or $true for the enabling as it is a bool. So if you see true or false in the clipboard or it is a checkbox then it's safe to assume it's a bool.
Best regards,
Eric St-Martin
Hello,
Thanks for that explanation. It´s a very cool and powerful tool you developed here!
Brgds Andreas