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:
$params=@($A,$B)
Invoke-command -Computername xyz -filepath “xyz” -ArgumentList $params.
A and B parameters I passed in input-Parameters in invoke-powershell activity.