Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to pass multiple package ID's to all WinGet PowerShell cmdlets #5094

Open
kilasuit opened this issue Dec 23, 2024 · 1 comment
Open
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. PowerShell Issue related to WinGet PowerShell Module or cmdlet

Comments

@kilasuit
Copy link
Contributor

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

@kilasuit kilasuit added the Issue-Feature This is a feature request for the Windows Package Manager client. label Dec 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 23, 2024
@stephengillie
Copy link

Maybe a passthru implementation?

'Discord.Discord','7Zip.7Zip' | Get-WinGetPackage 

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Dec 23, 2024
@denelon denelon added the PowerShell Issue related to WinGet PowerShell Module or cmdlet label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. PowerShell Issue related to WinGet PowerShell Module or cmdlet
Projects
None yet
Development

No branches or pull requests

3 participants