microsoft / microsoft/winget-cli

PowerShell Module Full Parity with WinGet CLI

Open
#6,288 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature PowerShell
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.