I’m using the Invoke Powershell activity to call a Keepass scripting command. When I run the command in Powershell directly it executes just fine and fetches credentials for example.
In UiPath however I can successfully execute the command, but when I include parameters it returns an error saying the command is not recognized. This error comes from the Keepass script, so that is called successfully. For some reason the parameters are passed to Powershell incorrectly I assume.
Is there a way for to show the actual command that is passed to Powershell including the parameters?
In this particular case I’m not authorized to use the script functionality.
Edit: To clarify, the command I’m using in Powershell directly is:
P:\SomeDirectory\KeePass\KPScript -c GetEntryString P:\SomeDirectory\Database.kdbx
This returns OK: Operation completed successfully.
However in UiPath, using the following settings for the invoke activity, I’m getting a command not recognized error:
Parameters name: c
Value: “GetEntryString P:\SomeDirectory\Database.kdbx”