Skip to content

Behavior of Set-EnvironmentVariable contravenes creation-on-demand expectations #5

Description

@mklement0

Long established Set-* cmdlets such as Set-Variable and Set-Alias have creation on demand logic.

For instance, Set-Variable NoSuchVarYet NewValue creates $NoSuchVarYet if it doesn't exist yet.

By contrast, Set-EnvironmentVariable only succeeds if the target environment variable already exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions