PowerShell / PowerShell-RFC

RFC (Request for Comments) documents for community feedback on design changes and improvements to PowerShell ecosystem
MIT License
432 stars 123 forks source link

Idea: Is there a need for having ExecutionPolicy for PS7 and WinPS be mirrored? #334

Open StevenBucher98 opened 2 years ago

StevenBucher98 commented 2 years ago

Summary of the new feature / enhancement

I am wondering if users find it frustrating to have to change the execution policy on both Windows PowerShell and PowerShell 7 separately? Like would folks prefer if it were changed in PS 7 it also changes it in WinPS? or vice a versa? or does it not matter much since you may use one predominately and the other does not matter as much.

Interested to hear folks thoughts. In my head it seems this change could lead to security issues but unsure of specifics. Or is this overall just a ludicrous idea 😅

Proposed technical implementation details (optional)

Have ExecutionPolicy of Windows PowerShell 5.1 follow whatever the ExecutionPolicy of PowerShell 7.x