Skip to content

Join-Path help topic is missing the new -AdditionalChildPath parameter #1612

@mklement0

Description

@mklement0

Using reflection with Get-Command -Syntax, v6 now shows a new parameter named AdditionalChildPath:

Join-Path [-Path] <string[]> [-ChildPath] <string> [[-AdditionalChildPath] <string[]>] [-Resolve] [-Credential <pscredential>] [<CommonParameters>]

This new parameter has the ValueFromRemainingArguments property, which enables joining an indefinite number of path components like so:

> Join-Path a b c d
a/b/c/d

This parameter is not currently documented in https://github.com/PowerShell/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Management/Join-Path.md

Version(s) of document impacted

  • Impacts 6 document

Reason(s) for not selecting all version of documents

  • The documented feature was introduced in selected version of PowerShell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions