How to fetch the value from a variable defined in powershell to UIPath?


#1

Hi All,

Can anyone suggest me how to fetch a value of a variable defined inside powershell script into UIPATH using run powershell script?

Regards
Nikhil Jose


How to get powershell input as a variable in UiPath?
#2

Hi,

you can define outbound variables in the PowerShellVariables collection as well as in the Output. If you need only simple variables I personally prefer using the first method.

Here is an example:
Main.xaml (5.5 KB)

BR,
Topi