Lead Image © liudmilachernetska, 123RF.com

Lead Image © liudmilachernetska, 123RF.com

Desired State Configuration v3

All the Best

Article from ADMIN 95/2026
By
Desired State Configuration version 3 moves away from the PowerShell-centric Local Configuration Manager and relies instead on a streamlined, cross-platform command-line tool.

On Windows, Desired State Configuration version 3 (DSCv3) is installed in the form of a command-line application named dsc.exe. The Local Configuration Manager (LCM) is not used any more, eliminating the process of compiling the desired configuration to managed object format (MOF) files. Therefore, you must apply the configuration file as needed – most simply as a scheduled task.

Existing DSC resources are integrated by an adapter model and continued use is assured. To make it easier to distinguish between the versions, Microsoft now refers to the first two DSC versions as PowerShell DSC (PSDSC). PSDSC configurations can be used in parallel and, although the first two versions are deprecated, support will continue in the foreseeable future.

Getting Started

For an initial look at DSCv3, install the command-line application from App Installer | WinGet on Windows 11. You will find the DesiredStateConfiguration package in the Microsoft Store:

winget search --query DesiredStateConfiguration
winget install --id 9NVTPZWRC6KQ --source msstore

Alternatively, you can specify WinGet as the package source, named Microsoft.DSC here. Applications installed from the Microsoft Store are automatically updated. Of course, you can use other sources or installation methods; the DSC package is available for manual download on the project pages, as well [1].

After completing the install, dsc is available as a command-line application; you can access it by typing:

Get-Command -Name dsc

Several options are available:

  • dsc --version displays the version number (e.g., 3.1.2).
  • dsc --help displays help.
  • dsc resource list lists native DSCv3

...

Use one of the options below to read the full article

Buy this article as PDF

Download Article PDF now with Express Checkout
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

Related content

  • Manage software apps publicly and privately
    The WinGet client for the Windows Package Manager improves the software installation experience for administrators, developers, and users and provides a way to create and share software in the WinGet package format for publishing to public and private repos.
  • Package management tools for Windows
    Chocolatey and WinGet offer full-fledged package management on Windows, but which is best for your environment?
  • Code IaC for provisioning of preconfigured virtual environments
    We explore automation techniques for the Azure Dev Box cloud service.
  • What's new in Microsoft Windows 8.1
    With Windows 8.1, Microsoft tries to correct the mistakes made in Windows 8 that are still keeping users and companies from using the new operating system. Besides the half-hearted revival of the Start button and the ability to boot directly into the desktop, it includes some interesting features.
  • What’s New in Microsoft Windows 8.1

    With Windows 8.1, Microsoft tries to correct the mistakes made in Windows 8 that are still keeping users and companies from using the new operating system. Besides the half-hearted revival of the Start button and the ability to boot directly into the desktop, it includes some interesting features.

comments powered by Disqus