jdhitsolutions / WingetTools

A set of PowerShell tools for working with the winget package manager.
MIT License
146 stars 14 forks source link

[Request]: Invoke-WGUpgrade -all /full #6

Closed necrose99 closed 1 year ago

necrose99 commented 2 years ago

Describe the request

Invoke-WGUpgrade -all / >>winget upgrade --all

Invoke-WGUpgrade --full /winget upgrade --all "--include-unknown"

one-line upgrade everything could be useful esp on scheduled tasks

PowerShell version

7.2

Platform

Windows 10 Pro or Enterprise

jdhitsolutions commented 2 years ago

I guess I don't see a problem with this approach. The -Full parameter may have to be dynamic since --include-unknown looks like a recent addition to winget.

jdhitsolutions commented 2 years ago

I've published version 1.4.0 to the PowerShell Gallery with updates to Invoke-WGUpgrade.