PowerShell / PowerShell/DSC

New subcommand to return resources used in a config and if they exist

Open
#1,143 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Summary of the new feature / enhancement

Higher level tools want to help the user install resources that are needed if they don't exist (bootstrapping). It would be useful to have a new subcommand to dsc that simply returns this information since the engine already does this but at runtime.

Proposed technical implementation details (optional)

dsc config analyze resources

We can extend other analyze subcommands in the future as needed.

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

Start with the existing dsc config analyze subcommands and the engine path that determines required resources during runtime. Define the dsc config analyze resources output around which configured resources are required and whether they exist, then verify it against representative configurations and missing-resource cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.