DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Resource to manage Windows env vars

Open SteveL-MSFT opened this issue 1 year ago • 1 comments

Summary of the new feature / enhancement

The PSDSCResource for environment has limitations that may be better suited for a rewrite as a v3 Windows only resource. Specially handle User vs System env vars (only persisted kind, not the current process) and a new model to handle PATH type variables treating them as arrays.

Proposed technical implementation details (optional)

No response

SteveL-MSFT avatar Apr 22 '24 23:04 SteveL-MSFT

PSDSCResource/Environment is missing a "User" option in the Target property. Some developers have to run as standard user and can't set system environment variables. OS variables like path can't be used for custom tools paths. App specific variables like VS' IDE settings path can't be configured.

acangialosi avatar Apr 23 '24 11:04 acangialosi