Page 1 of 1

Setting Remote Execution Policy off

Posted: Wed Jul 25, 2018 11:12 am
by iampedro
Dear All Users,

Right now I have made a powershell script but I need to make sure that ,"powershell -command "& {Set-ExecutionPolicy -ExecutionPolicy unrestricted -Force}" is run first what do you suggest that I do since I am using PowerShell Studio 2018 to make a exe. How can I distribute this exe with this command in it?

Re: Setting Remote Execution Policy off

Posted: Wed Jul 25, 2018 11:46 am
by jvierra
You really can't do that. Execution Policy can only be set by an administrator and it is permanent.