If I run my ps1 script on the PC as the user manually I get no errors.
If I run it with PDQ Deploy it's throwing an exception, most of the script runs but then errors at some point.
ScriptHalted At C:\WINDOWS\AdminArsenal\PDQDeployRunner\service-1\exec\Error Handling Wrapper.ps1:47 char:2 + Throw $_.Exception.ErrorRecord + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) , RuntimeException + FullyQualifiedErrorId : ScriptHalted
Anybody have any idea why it would do this? I get 0 errors when running it manually.