microsoft / microsoft/winget-cli
PowerShell Module Full Parity with WinGet CLI
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
- PowerShell Module
- COM API
Description of the new feature / enhancement
The WinGet PowerShell module (Microsoft.WinGet.Client) should achieve full functional parity with the WinGet CLI. Today, several CLI capabilities have no PowerShell equivalent, blocking adoption by IT administrators and configuration-as-code workflows that rely exclusively on PowerShell (Intune, SCCM, Azure Automation, DSC).
Key gaps include:
- No PowerShell equivalent for \winget configure\ operations (test, validate, show)
- Missing cmdlets for pin management
- No cmdlet for \winget download\
- Missing \winget repair\ support in the module
- No PowerShell equivalent for \winget settings\ management
- Limited source management beyond basic add/remove
Enterprise automation operates in PowerShell-only contexts where shelling out to \winget.exe\ is unreliable (especially in SYSTEM context) or architecturally inappropriate. Full parity unblocks enterprise adoption.
Proposed technical implementation details
Add missing cmdlets using the existing COM API (Microsoft.Management.Deployment):
- \Test-WinGetConfiguration, \Assert-WinGetConfiguration, \Get-WinGetConfiguration\
- \Save-WinGetPackage\ (download)
- \Repair-WinGetPackage\
- \Add-WinGetPin, \Remove-WinGetPin, \Get-WinGetPin, \Reset-WinGetPin\
- \Export-WinGetSettings, \Set-WinGetSetting\
- Enhanced source management cmdlets with full parameter parity
All cmdlets should support SYSTEM context operation for enterprise automation scenarios.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing PowerShell Module and Microsoft.Management.Deployment COM API, since no files or tests are named. Inventory the listed parity gaps and determine which API surfaces support them. Done means the proposed cmdlets and enhanced source management cover the stated CLI capabilities and operate in SYSTEM context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- api, cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100