When testing a trigger I get the following error with the following script:
Any ideas? I have tried via UNC, local, mapped drive. All give the same error whether I used double quotes or not.
Move the script out of the root of the C drive. It's probably failing on permissions and the quote error is probably a red herring. Example: C:\SomeFolder\MoveLogs.ps1
I have tried it in multiple directories. The reason I put it there was to get rid of as much text to see if that was an issue. I will try again though, just to double check.