Skip to content

EnvVar resource needs isPath property #1724

Description

Summary of the new feature / enhancement

When using Microsoft.Windows/EnvironmentVariable performing a get or export against PATH or PSModulePath, the resource cannot infer that the variable is a path type so it returns it as a string instead of an array.

Proposed technical implementation details (optional)

There should be a isPath property that can be supplied to inform the resource to split the path by path separator making it easier to export, modify, and set instead of having it sometimes as a string and sometimes as an array.

One decision point is with this property whether it makes sense to have separate value and pathValue properties vs collapsing it into just value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions