Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add Support for Default Display Property Set

Aperta
#202 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
powershell
Ambito
cli

Direzione di ricerca

Start by locating how the JSON configuration's OutputHandlers are parsed and how System.Management.Automation.PSPropertySet is used for default returned properties. Done means an OutputHandlers property list can define the default display properties without a script output handler and aligns the executable's reduced native response.

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

Descrizione

Issue-Enhancement
Summary of the new feature / enhancement

I think the only way to customize what properties are displayed by default with DefaultDisplayPropertySet is to use a function or script as the output handler. It would be nice to be able to provide only a list of property names within the JSON config and have those displayed by default without any other additional configuration.

This would allow better alignment with an executable's native behavior that returns fewer properties when not requesting the full JSON response.

Proposed technical implementation details (optional)

A new array property would be added to OutputHandlers that accepted a list of properties that would be returned by the executable. That list would be used to set the default returned properties as part of System.Management.Automation.PSPropertySet

Lingua principale
PowerShell
Stelle
437
Fork
49
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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.

Altre issue di PowerShell/Crescendo

Tutte le issue di PowerShell/Crescendo

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.