dsc command (Winget-Create)

May 6, 2026 · View on GitHub

The dsc command is the entry point for using DSC (Desired State Configuration) with Winget-Create.

Usage

wingetcreate.exe dsc <resource> [<options>]

Resources

ResourceTypeDescription
--get
--set
--test
--export
--schema
Link
settingsMicrosoft.WinGetCreate/SettingsManage the settings for Winget-CreateDetails

Arguments

The following arguments are available:

Argument
Description
-g, --getGet the resource state
-s, --setSet the resource state
-t, --testTest the resource state
-e, --exportGet all state instances
--schemaExecute the Schema command
-?, --helpGets additional help on this command.