5 Replies Latest reply on May 13, 2016 10:51 AM by Jerbil24

    Deploying PowerShell Script, automatically changes ExecutionPolicy

    Jerbil24 Rookie

      I have been trying to deploy a set of PowerShell scripts to computers with Windows 7 through Windows 10. It doesn't matter what the ExecutionPolicy is prior to deployment. It gets automatically switched to restricted and nothing runs (Landesk returns a Success). I've included a screenshot to show that I manually set the Policy to Unrestricted -> ran the package -> Get-ExecutionPolicy = Restricted. I've tried Remotesigned as well, and yes, my scripts are signed, with the same result. I think before we replaced one of our preferred servers, I got around this by putting scripts into provisioning tasks but now that doesn't seem to work either. I appreciate any help or guidance.