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
| Resource | Type | Description | --get | --set | --test | --export | --schema | Link |
|---|---|---|---|---|---|---|---|---|
settings | Microsoft.WinGetCreate/Settings | Manage the settings for Winget-Create | ✅ | ✅ | ✅ | ✅ | ✅ | Details |
Arguments
The following arguments are available:
Argument | Description |
|---|---|
| -g, --get | Get the resource state |
| -s, --set | Set the resource state |
| -t, --test | Test the resource state |
| -e, --export | Get all state instances |
| --schema | Execute the Schema command |
| -?, --help | Gets additional help on this command. |