Skip to main content
The configure show command displays detailed information about a configuration file without applying it.

Syntax

winget configure show [<file>] [options]

Arguments

file
path
Path to YAML configuration file or URL

Options

-f, --file
path
Configuration file path or URL (alternative to positional argument)
-h, --history
string
Show configuration from history by ID
--module-path
path
Path to PowerShell modules directory
--processor-path
path
Path to custom DSC processor

Examples

Show configuration file:
winget configure show development-setup.yaml
Show from URL:
winget configure show https://example.com/config.yaml
Show from history:
winget configure show --history abc123

Output Format

Displays configuration metadata and resources:
Configuration: development-setup.yaml
Version: 0.2.0

Resources:
  [1] Microsoft.WinGet.DSC/WinGetPackage
      Description: Install Visual Studio Code
      Settings:
        id: Microsoft.VisualStudioCode
        source: winget
  
  [2] PSDscResources/Registry
      Description: Set system preference
      Settings:
        Key: HKLM:\Software\MyApp
        ValueName: Setting
        ValueData: Enabled

Total Resources: 2

Use Cases

Preview Configuration

Inspect configuration before applying:
winget configure show setup.yaml

Verify Syntax

Validate configuration file is well-formed:
winget configure show config.yaml

Review History

Inspect previously applied configurations:
winget configure show --history abc123

Exit Codes

  • 0 - Success
  • 0x8A150031 - Configuration file not found
  • 0x8A150032 - Configuration parsing failed
The show command only displays configuration details and doesn’t make any system changes.

Build docs developers (and LLMs) love