Skip to content

New resource: Microsoft.Windows/WindowsFeatureList for Windows Server roles #1540

Description

@Gijsreyn

Summary of the new feature / enhancement

DSC already ships two DSIM-backed resources, but neither can install Windows Server roles:

  • Microsoft.Windows/OptionalFeatureList calls DismEnableFeature internally but does not expose the EnableAll, SourcePaths, or LimitAccess parameters. Without EnableAll, installing a role that has required sub-features (e.g. RDS-RD-Server) fails or produces an incomplete install.
  • Microsoft.Windows/FeatureOnDemandList uses a completely different API, targeting mostly Windows 10/11 client "Feature on Demand."

Note

This was a requested feature at the OpenDSC side.

Proposed technical implementation details (optional)

A new Microsoft.Windows/WindowsFeatureList resource backed by DismEnableFeature with full parameter support.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions