Powershell with Uipath


#1

Hi i am trying to run power shell script in uipath, so far i have not succeeded, can any one help .

I am attaching the workflow here
Powershell.xaml (3.0 KB)

Please go through it i have attached Two sequences
Help Appreciated
Thanks
Kalyni


#2

Hai @kalyani,

There is no activity on your workflow.,

Regards,
D.Aravind


#3

Sorry

I attached AgainPowershell.xaml (10.7 KB)

Mainly i want to open the folders and find security permissions for that folder.
Please see


#4

@kalyani,

kindly share me the .ps1 file

Regards,
D.Aravind


#5

Hi , i attached as Zip, because it is not taking the .ps1

i created that just for test purpose,
If you are intersted you can use any file:smiley:

Thanks for Immediate reply

sureUntitled1.zip (148 Bytes)


#6

@kalyani,

I unable to run PowerShell script on my pc, however, I rectified the uipath error kindly check it.,

Powershell.xaml (10.7 KB)

Regards,
D.Aravind.


#7

Thanks for the help

but it is not working giving System.InvalidCastException


#8

@kalyani,

Kindly Share me the Screen Shot of the Error,

Regards,
D.Aravind


#9

Hi
please see the Image

Thanks
kalyani


#10

@kalyani,

Kindly change the output variable to resultoutput in “Run power shell script”

Regards,
D.Aravind.


#11

Hi
still it is giving same error

Thanks
kalyani