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
341 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
• 580 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
697 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
824 views
0 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
• 10,310 points
1,497 views
0 votes
1 answer

How to download attachment from gmail using UiPath?

Hey @Hemant, looping through emails and downloading ...READ MORE

answered Mar 11 in RPA by Anvi
• 10,310 points
541 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,090 points
254 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,090 points
896 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,090 points
332 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,090 points
324 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
• 580 points
309 views
0 votes
1 answer

UiPath with SVN

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

answered Mar 7 in RPA by Mugdha
• 580 points
105 views