Skip to content

Document change to Join-Path for using array with -ChildPath parameter. #11590

@ArmaanMcleod

Description

@ArmaanMcleod

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."

Summary

Allows user to give an array of child paths with -ChildPath. This avoids the extra usage with -AdditionalChildPath which can be ignored and makes usage of Join-Path easier.

We can document that -AdditionalChildPath is no longer needed for joining long paths.

Details

Example

> Join-Path -Path 'one' -ChildPath 'two', 'three'
one\two\three

Articles

  • reference/7.5/Microsoft.PowerShell.Management/Join-Path.md

Related Source Pull Requests

Related Source Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-managementArea - Microsoft.PowerShell.Management moduleissue-doc-ideaIssue - request for new content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions