I’m trying to invoke a script remotely using ‘invoke-command’ powershell. This script is used in uipath using ‘Invoke powershell activity’. I passed the arguments in Input-Parameters. But uipath couldn’t take the values while executing.

My powershell script:
Invoke-command -Computername xyz -filepath “xyz” -ArgumentList $params.

A and B parameters I passed in input-Parameters in invoke-powershell activity.

@supermanPunch could you plz help on this.
@ppr @Palaniyappan

Hi @MEHER_BJ have you enabled the isscript property in properties pannel?

Yes, enabled it.


Plz check the below video.

How to execute powershell scripts & cmdlet using UiPath ?| Invoke Powershell activity| Part-1