Pass a variable from UiPath to Invoke Powershell activity


#1

Hi Team,

How to pass a variable from UiPath to power-shell. Tried importing arguments but it didn’t work.
It would be very helpful if you provide sample xaml file.

Thanks in advance


Launch Powershell script with variables from uipath
#2

Hi,

just add the argument in the PoweShellVariables and it should work.
Attached an example.

Main.xaml (5.5 KB)

BR,
Topi


#3

Thanks a lot.