I am trying to push a Powershell script in PDQ Deploy but when I run it on a remote computer it errors off talking about this "@chcp 65001>nul". It looks to be code related to setting language but it was not in my script so found in the output log that is shows the path to the script that was ran and made a copy of it before PDQ deleted it out of the local system after it fails.
I opened the script a found all my code was in there but in addition to my code the very top line had "@chcp 65001>nul". I am sure there is a good reason for putting this code ahead of my script but it is failing do to it being there. Does anyone know why it is there and how worse case do I tell PDQ Deploy to not inject addition code into my script?
Please sign in to leave a comment.