Hi All,
We are currently facing a technical challenge while trying to execute a PowerShell script (.ps1 file) on a robot's virtual machine using Appian robotic task. The script is stored in a shared drive location that the robotic task has access to.
Our goal is to run the script using the “Run with PowerShell” option. However, we are unable to identify any built-in robotic action within Appian RPA that allows us to execute a PowerShell script directly on the robot’s VM.
If you are aware of any solution, workaround, or best practice to achieve this, your guidance would be greatly appreciated.
Thank you in advance for your support.
Discussion posts and replies are publicly visible
Hi sudip.das005
Currently, the recommended workaround for this type of execution is to run the command using the Windows "Run" dialog. This can be implemented with a three-action subtask:
1. Press keyboard shortcuts: Win + R (to open the Run dialog)
Win + R
Enter