I try to get a status from my script by calling the variable in Invoke PowerShell activity in PowerShellVariables pannel. In Powershell script the variable is named “Status” and in UiPath it is named “StatusRun”
Hope you have already executed the powershell and validated the ouutput. Alos you have 2 input variables, so are you passing the values to powershell script properly?