When working with Schedules in Leapwork, you may want to add an action to be triggered on a specific condition.
A potential scenario is the need to trigger a PowerShell script using the Actions option in Leapwork Schedules.
Whenever you want to trigger the PowerShell script from Action, use the command below to trigger the PowerShell script
powershell.exe '<PowershellScript_CompleteFilePath>'
The screenshot below shows the PowerShell script used to copy generated log files from destination A and paste in destination B on completion of automation run.

For clarification, please contact our Priority Support.
Comments
0 comments
Please sign in to leave a comment.