WingetTools icon indicating copy to clipboard operation
WingetTools copied to clipboard

[Request]: Invoke-WGUpgrade -all /full

Open necrose99 opened this issue 3 years ago • 2 comments

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

necrose99 avatar Aug 08 '22 21:08 necrose99

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 avatar Aug 08 '22 21:08 jdhitsolutions

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

jdhitsolutions avatar Aug 10 '22 12:08 jdhitsolutions