PowerShell / PowerShell/DSC

Support environment variables DSC Meta Configuration

Open
#619 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement Needs Triage
Dominant language
Rust
Stars
523
Forks
75
Avg merge
3d 16h
Merged PRs (30d)
24

Description

Summary of the new feature / enhancement

With the initial batch completed in #574, I want to be able to use environment variables in the directories field. The current implementation in preview.12 doesn't support the following:

{
  "resourcePath": {
    "allowEnvOverride": true,
    "appendEnvPath": true,
    "directories": ["%SYSTEMDRIVE%\\CompanyResources"]
  },
  "tracing": {
    "level": "TRACE",
    "format": "Default",
    "allowOverride": true
  }
}

Proposed technical implementation details (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the initial batch referenced in #574 and the preview.12 handling of the resourcePath directories field. Confirm how environment variables such as %SYSTEMDRIVE% should be expanded, then verify that the example configuration works with environment variables in directories.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.