If I save it to a PS1 file and run it manually it runs perfectly fine though.
I have the Preview copy of Powershell V5 installed.
Could this be it?

Thanks!
1 Comment   [ + ] Show Comment

Comments

  • Since we don't have a working crystal ball, can you describe what the powershell script is trying to do, and what "user" is running the script when it fails.
    Please bear in mind that if the script is trying to access any network resources and is being run by a local service account, it will always fail, as local services have no network access. Running the same script as a user with domain access will work, however.
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity