Skip to content

Format-Path: Support expand environment variables #147

@johlju

Description

@johlju

Command proposal

Suggest adding support for expanding environment variables in path with optional parameter, by using:

$Path = [Environment]::ExpandEnvironmentVariables($Path)

Proposed parameters

Parameter Mandatory Data type Description Default value Allowed values
ExpandEnvironmentVariable No Switch Replaces the name of each environment variable embedded in the specified string with the string equivalent of the value of the variable. Each environment variable must be quoted with the percent sign character (%). None None

Special considerations or limitations

None.

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