I want to use PowerShell activity of UiPath.
I passed the script in command text prop : it is not working
I created a file and tried calling it : no luck
could you please help me in invoking the script which includes variables as well.
error : Unable to cast object of type ‘system.string’ to type ‘system.management.automation.PSObject’