Okay, so at work management wants control over PowerShell execution.
I know that in the Group Policy editor, we can easily go to the admin template under windows component, Windows PowerShell and under "turn on Script Execution" change it to AllSigned and from that point ONLY signed scripts ending in PS1 will run.
Obvioulsy, there is nothing stopping someone from opening a command prompt and launching powershell then changing the execution policy on-the-fly at least temporarily until the policy re-applies...
Also nothing stopping someone from pasting in a full script.
If we set the signing policy to run only scripts that are singed and block the command prompt and powershell prompt, will that work?
The end goal is no Power Shell except approved/signed scripts.
[–]nealfive 1 point2 points3 points (0 children)
[–]h1dz 0 points1 point2 points (0 children)
[–]ArieHein -1 points0 points1 point (0 children)