Hi all,
I have a problem running scripts on multiple machines: if I select more than one entry in the left tree, right click and choose "Macros\Scripts\Tools" and then click on a script, it's executed only on the first entry that I've selected instead of all selected entries.
I can workaround doing it at folder level, but it have two drawbacks:
- I need to de-select all machines that I don't need (not useful if I need to execute script on 2/3 machines only)
- I cannot choose machines in different folders
Thanks
Hello,
What version of RDM are you using ?
Which type of datasource are you using ?
Which type of script are you running?
Best regards,
Alexandre Roy
Hi,
I'm using the latest RDM version (12.6.6) with SQL Server datasource and Powershell (local) script.
Thanks
Hi again,
does the othe type of script other than powershell works for you ? like Ping and such ?
Best regards,
Alexandre Roy
Yes, ping and traceroute work: selecting 2 machines, they open two tabs.
Hello again,
The issue has been reproduced, I've sent a ticket to the engineering team to work on a fix.
Thank you for reporting this.
Best regards,
Alexandre Roy
Hello,
As a side note, I'm just learning about this but there is a possible workaround for you.
If you edit your powershell script, there is an option you can check that allow you to to batch execute.
Which should be followed by this window when you run the script.
Would that work for you ?
Best regards,
Alexandre Roy
batch script.png
allow batch execute1.png
Yes, it's working and it's better than execute immediately.
We have scripts for shutdown/reboot, but actually I had to insert a message box in Powershell as confirmation, just to be sure that a wrong click won't reboot\shutdown the machines.
You should consider to add an option to trigger a confirmation window before executing script: actually I've insert it into powershell but I need to confirm for each machine (script it's triggered one time for each machine), for multiple entries the solution provided could act as confirmation windows, but I need for single selection too.
Hi,
I have added a feature request for the confirmation before executing a script.
Regards
David Hervieux