Hi,
I hope you can help, I’m trying to use Run Power Shell Script activity to run a simple power-shell script, and this is throwing me the following error below:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.InvalidOperationException: The activity ‘Run power shell script’ with ID 3 threw or propagated an exception while being canceled. ----> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Cast[TResult](IEnumerable source)
at UiPath.Script.Activities.PowerShell.RunPowerShellScript`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of inner ExceptionDetail stack trace —
Would it be some kind of permissions issue on my local PC even though the directory where the PS.1 is stored has full rights and when i run the PS.1 manually it works fine with out any prompt about permissions.
Thanks