DSC
DSC copied to clipboard
Resource to manage Windows env vars
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
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.