Hi,
I was using ‘Invoke Power Shell’ activity, it works fine most of the times, but sometimes it throws any of the below three error messages.
- Invoke Power Shell: Unable to cast object to type ‘System.IO.FileInfo’ to type ‘System.String’
- Invoke Power Shell: Unable to cast object of type ‘System.UnauthorizedAccessException’ to type ‘System.String’.
- Invoke Power Shell: Unable to cast object of type ‘System.Exception’ to type ‘System.String’.
I hereby attach screenshots for your references. Kindly review and guide me to resolve this issue
Regards
Suraj.S