Using Powershell from UiPath

0 votes
Is it possible to connect to Powershell from UiPath? I want to run a Powershell script and send arguments using UiPath. Appreciate a step-by-step process. Thanks.
Mar 7 in RPA by Mishti
• 480 points
799 views

1 answer to this question.

0 votes

Follow this step-by-step process:

  1. Create a .TXT file containing the desired PowerShell script.

            For example, PS_Sample.txt

  1. In UiPath, use “Read Text File” activity and use the text file in the file name field
  2. Set the output variable using a string variable as shown-
  3. Add an “Invoke Power Shell” activity and set the values as shown below-
  4. Under the properties of “Invoke Power Shell” activity, use the Parameters field to add your arguments.

Hope this helps,

Happy Learning!

answered Mar 7 by Mugdha
• 600 points

Related Questions In RPA

+1 vote
1 answer

Looping on URLs from Excel file using UiPath

you have a Excel file with a ...READ MORE

answered Jul 25, 2018 in RPA by Atul
• 5,530 points
1,043 views
0 votes
2 answers

Moving Files from one folder to another using UiPath

if you want to copy and move ...READ MORE

answered May 29 in RPA by Venkat
• 320 points
2,227 views
+3 votes
1 answer

How to extract data from a website and save it to excel using UiPath?

Hi Piyush, if you want to extract ...READ MORE

answered Mar 8 in RPA by Anvi
• 13,960 points
5,673 views
0 votes
2 answers

How to download attachment from gmail using UiPath?

First of all you need to setup ...READ MORE

answered Sep 19 in RPA by Robert
• 140 points
1 flag 1,611 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
362 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,100 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,110 points
574 views
0 votes
1 answer

Private Chrome window open UiPath

To open the browser in private mode, ...READ MORE

answered Apr 25, 2018 in RPA by wrecker
• 3,110 points
436 views
0 votes
1 answer

Receiving Emails from Gmail in UiPath

Hi, Integration of Gmail with UiPath can be ...READ MORE

answered Mar 15 in RPA by Mugdha
• 600 points
783 views
0 votes
1 answer

UiPath with SVN

Before starting, ensure that a repository is ...READ MORE

answered Mar 7 in RPA by Mugdha
• 600 points
253 views