microsoft / microsoft/winget-cli
Add support to pass multiple package ID's to all WinGet PowerShell cmdlets
Open
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
Description of the new feature / enhancement
Cmdlets in the Winget.Client module should allow this to work
Get-WinGetPackage -Id Discord.Discord,7Zip.7Zip
I can do this as a work around
'Discord.Discord','7Zip.7Zip' | foreach {Get-WinGetPackage -ID $_}
Please assign this to me as I will work on this.
Proposed technical implementation details
Change the Id parameter for all cmdlets that use it to accept a string array not a single string
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 in the Winget.Client PowerShell module by locating every cmdlet that exposes an Id parameter. Check how those parameters are declared and how the resulting values are passed through, then verify that all affected cmdlets accept multiple IDs while retaining single-ID behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100