Skip to content

Document new RelativeBasePath parameter for Resolve-Path #9940

@MartinGC94

Description

@MartinGC94

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

Resolve-Path will get a new "RelativeBasePath" parameter that allows the user to specify a path where the relative path should be resolved from.
For example, if the current location is C:\Windows\System32 and the user wants to resolve the relative path to the temp folder from their home folder they can do it like this: Resolve-Path -Path $env:TEMP -RelativeBasePath $HOME which would output: .\AppData\Local\Temp

Details

No response

Articles

No response

Related Source Pull Requests

Related Source Issues

Metadata

Metadata

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions