PSWizget

1.0.15

PowerShell script that allow you to manage the upgrade process with winget.
It adds a few more options than 'winget upgrade --all':
- create a file with the packages you would like to omit;
- add or remove packages from the blacklist file directly from the script;
- automatically omit packages with "unknown" installed version, or when the formats of
 the installed v
PowerShell script that allow you to manage the upgrade process with winget.
It adds a few more options than 'winget upgrade --all':
- create a file with the packages you would like to omit;
- add or remove packages from the blacklist file directly from the script;
- automatically omit packages with "unknown" installed version, or when the formats of
 the installed version and the available version formats does not match;
- it tries to guess the correct installed version by reading the pattern
 from the available version;
- manually edit the upgrade queue;
- quick mode (it's similar to 'winget upgrade --all' but with a blacklist applied);
- wingetParam <string> option with custom parameters to pass to winget. '-h' is set by default;
- you can preselect one of the options available from the menu by adding the -option parameter
with A, C or S argument.

Known issue with Windows Powershell ver. <= 5.1 (desktop):
Due to the ascii encoding, packages with longer names than 30 chars may corrupt
the 'winget upgrade' result, i.e. info about the long name package
and the packages listed after it.
Please use this script with PowerShell ver. > 5.1 (core) if you can
or avoid installing long name packages with winget.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name PSWizget

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

GPL-3.0

Package Details

Author(s)

  • zakret.code@gmx.com

Tags

windows winget batch upgrade wizard update all queue

Functions

Write-Art Clear-HostRange Write-Separator Get-Answer Get-IntAnswer Write-PackagesStatus Reset-Setup Split-Result Show-Result Show-UI

PSEditions

Core Desktop

Dependencies

This script has no dependencies.

Release Notes

- once a week, the script checks if there is a new version available on powershellgallery.com
and if so, the information is added to the table;
- the package's manifest file is downloaded if there is an update for it.
Information about the release notes and the URL for them are retrieved from the manifest file
and can be presented to the user under the [ R ] option;
- manifests older than 3 months are deleted at the end of the script;
- additional files to the script are now placed in the folder;
- testing the Internet connection can be omitted with the omitNetTest parameter;
- reformating the table, separators and menu;
- better parameter validation, error handling and easier debugging;
- adjusted version recognition mechanism;
- the script can now play an idle animation while waiting for the user's response
( idleAnimation parameter ).

FileList

Version History

Version Downloads Last updated
1.0.15 (current version) 11,090 11/17/2022
1.0.14 49 7/1/2022
1.0.13 12 6/30/2022
1.0.12 12 6/30/2022
1.0.11 12 6/29/2022
1.0.10 12 6/29/2022
1.0 24 6/27/2022
Show more