winget install --id=Microsoft.DSC.Preview -e
DSCv3 is the latest iteration of Microsoft's Desired State Configuration platform. DSCv3 is an open source command line application that abstracts the management of software components declaratively and idempotently. DSCv3 runs on Linux, macOS, and Windows without any external dependencies. With DSCv3, you can: - Author resources to manage your systems in any language - Invoke individual resources - Create configuration documents that define the desired state of a system
DSC v3 Preview is a cross-platform, open-source command-line tool designed for managing software components declaratively and idempotently across Linux, macOS, and Windows environments. It provides a flexible and lightweight platform for system configuration without external dependencies.
Key Features:
Audience & Benefit:
Ideal for IT professionals, DevOps engineers, and system administrators seeking a modern approach to infrastructure management. DSC v3 Preview empowers users to achieve consistency across environments, reduce manual errors, and streamline configuration workflows. It is particularly beneficial for organizations leveraging Azure services or other platforms requiring robust orchestration capabilities.
Installable via winget, DSC v3 Preview offers a powerful yet simple solution for managing system configurations in a scalable and maintainable manner.
> [!NOTE] > We welcome code contributions to this repository. For guidelines on how to contribute, > see our CONTRIBUTING.md. > Your feedback and participation help us improve DSCv3 for everyone.
DSCv3 is the latest iteration of Microsoft's Desired State Configuration platform. DSCv3 is an open source command line application that abstracts the management of software components declaratively and idempotently. DSCv3 runs on Linux, macOS, and Windows without any external dependencies.
With DSCv3, you can:
DSCv3 differs from PowerShell DSC in a few important ways:
Importantly, while DSCv3 represents a major change to the DSC platform, DSCv3 is able to invoke PowerShell DSC Resources, including script-based and class-based DSC Resources, as they exist today. The configuration documents aren't compatible, but all published PowerShell DSC Resources are. You can use PowerShell DSC resources in DSCv3 with both Windows PowerShell and PowerShell.
To install DSC v3:
PATH
.If you're new to DSC or configuration management, we recommend reviewing the documentation.
If you're already familiar with DSC or just want to start experimenting with v3, we recommend reviewing the Samples repository and the accompanying . The Samples repo is ready to accept Pull Requests, which is a great way to contribute while v3 is in early phases of development.
DSCv3 is a platform tool that abstracts the concerns for defining and invoking resources. Higher order tools, like Azure Machine Configuration, Azure Automanaged VM, and WinGet are early partners for DSCv3 as orchestration agents.
DSCv3 uses JSON schemas to define the structure of resources, configuration documents, and the outputs that DSCv3 returns. These schemas make it easier to integrate DSCv3 with other tools, because they standardize and document how to interface with DSCv3.
Please see our Code of Conduct before participating in this project.
For any security issues, please see our Security Policy.