Skip to content

Add Support for Default Display Property Set #202

@bmkaiser

Description

@bmkaiser

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions