- Cisco Employee,
I am running into errors when trying to run powershell scripts on a remote target. I have tried the following things so far using just "get-date" as a command in the script.
1. Set remote execution policy to unrestricted.
2. Enable the checkbox for accessing remote resources.
And after setting the above, I get the following error.
Exception has been thrown by the target of an invocation.
Access is denied.
Now, if I try using the Run Windows Command activity, I am able to run the required commands on the remote target, but powershell script activity fails for the same target.
Surprisingly, this works fine on TEO2.2