WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
The first step in a single command to capture state is to iterate over all installed packages and include them in the WInGet Configuration File generated by winget configure export.
Note: This will not likely be able to resolve sequencing dependencies in the short term.
This should work for both scenarios when PowerShell DSC v2 (Invoke-DscResource) and in DSC v3 (DSC.exe) are used to apply a single unit of configuration.
Description of the new feature / enhancement
The first step in a single command to capture state is to iterate over all installed packages and include them in the WInGet Configuration File generated by
winget configure export
.Note: This will not likely be able to resolve sequencing dependencies in the short term.
This should work for both scenarios when PowerShell DSC v2 (Invoke-DscResource) and in DSC v3 (DSC.exe) are used to apply a single unit of configuration.
Proposed technical implementation details
No response