Skip to content

Missing about_dynamic_parameters doc #11998

@kilasuit

Description

@kilasuit

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."

PowerShell Version

7.6, 7.5, 7.4, 5.1

Summary

We are missing an about doc on dynamic parameters even though there are some areas where this feature is already documented, we could do with a more feauture filled doc linking to those existing docs and that shows additional examples on where they have already been used and how they may be used effectively as well as recommendations on when to avoid using them as they are a much more advanced area and although a less used feature of PowerShell, I feel it comes up often enough in discussions in the PowerShell Discord alone for there to be dedicated about doc page for them.

Note - I think we should be recommending where possible against their use and instead use the newer arguement completion feautures like dynamic generation of allowed values with ValidateScript or Class based arguement completers & these should be linked to as well in this conceptual about doc.

There are also probably other areas I've forgotten about that should be included in this doc but this should be enough for us to get going with something in the meantime and can always be enhanced in future.

Details

A selection of some of the comments made on this

Proposed Content Type

About Topic

Proposed Title

about_dynamic_parameters

Related Articles

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-aboutArea - About_ topicsissue-doc-ideaIssue - request for new contentresolution-wont-fixStatus - closed as won't fixup-for-grabsTag - issue is open for any contributor to resolve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions