Pass a variable from UiPath to Invoke Powershell activity

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

Hi,

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

Main.xaml (5.5 KB)

BR,
Topi

3 Likes

Thanks a lot.