Skip to content

get-help: Improve presentation of aliased parameters #18522

@wisemoth

Description

@wisemoth

Summary of the new feature / enhancement

aliased parameters are hard to discover in get-help. I recently raised what I thought was a documentation issue, only to see that in fact the documentation was present, but that the presentation of it was confusing.

Proposed technical implementation details (optional)

When attempting to discover Parameters all should be provided (certainly in -Detailed form), and so in the "documentation issue" I raised concerning the help for Invoke-Command I would think something like this would be useful in get-help output:

...
-Disconnected : alias, see InDisconnectedSession
...

In other words allow the alias to be a first-class parameter for the purposes of enumerating the parameters, but add a cross-link to the "other" parameter for the actual documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreWG-Interactive-HelpSystemhelp infrastructure and formatting of help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions