Need Help Invoking PowerShell Script in UiPath Studio

Hello everyone. I have a PowerShell script that reads data from an Excel file, displays it in a form, and allows users to select rows, which are then stored in a DataTable. I’m having trouble invoking this script from UiPath Studio.

Could someone guide me on how to properly invoke a PowerShell script in UiPath and handle its output?

I am attaching the PS script here.

TIA

Power Shell Code.txt (4.7 KB)