PowerShell / PowerShell/PowerShell-RFC

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

Aperta
#334 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
PowerShell
Stelle
467
Fork
140
Merge medio
9m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non sono stati identificati file, test o punti di ingresso. Inizia esaminando come viene archiviato e valutato ExecutionPolicy in Windows PowerShell 5.1 e PowerShell 7.x, quindi documenta le implicazioni per la sicurezza e definisci se le modifiche debbano essere sincronizzate in entrambe le direzioni e quale comportamento debba essere considerato completo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
powershell
Ambito
cli, security
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.