Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
ArmaanMcleod opened this issue Dec 15, 2024 · 0 comments
Open
2 tasks done
Labels
area-management Area - Microsoft.PowerShell.Management module hold-for-pr Waiting - for PR merge hold-for-release Waiting - for next release issue-doc-idea Issue - request for new content

Comments

@ArmaanMcleod
Copy link

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

@ArmaanMcleod ArmaanMcleod added issue-doc-idea Issue - request for new content needs-triage Waiting - Needs triage labels Dec 15, 2024
@michaeltlombardi michaeltlombardi added hold-for-pr Waiting - for PR merge hold-for-release Waiting - for next release area-management Area - Microsoft.PowerShell.Management module and removed needs-triage Waiting - Needs triage labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-management Area - Microsoft.PowerShell.Management module hold-for-pr Waiting - for PR merge hold-for-release Waiting - for next release issue-doc-idea Issue - request for new content
Projects
None yet
Development

No branches or pull requests

2 participants