In LEAPWORK, many times, users are required to use Powershell scripts that are executed in different scenarios specific to the user requirements.
Users can use Command Line Block in LEAPWORK to run the PowerShell script which has been created for the user-specific scenario.
The screenshot below refers to the "WritingData.ps1" which is a demo PowerShell script that was created.
Note: To get a better insight into how Command-Line building block works, Click Here
Whenever the user wants to trigger the PowerShell script from the Command Line, he needs to use the below command which will be fired to trigger the PowerShell script
For any clarification, please contact our Priority Support.