Skip to content

Join-Path -Extension <string> parameter #20724

@brianary

Description

@brianary

Summary of the new feature / enhancement

Join-Path would add a new parameter -Extension that would accept a string value, and would change the filename extension of the provided path. This would provide parity with the -Extension parameter of Split-Path.

Proposed technical implementation details (optional)

This would simply call [System.IO.Path]::ChangeExtension($Path, $ChangeExtension).

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-PRIndicates that a PR is out for the issueIssue-Enhancementthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management moduleWG-ReviewedA Working Group has reviewed this and made a recommendation

    Type

    No type

    Projects

    Status

    Reviewed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions