-
Notifications
You must be signed in to change notification settings - Fork 6
choco_upgrade_all.ps1
Corey Watson edited this page Dec 1, 2025
·
1 revision
Upgrades all Chocolatey-managed packages to their latest versions.
This script checks for Chocolatey installation and upgrades all managed packages to their latest versions using auto-confirmation.
Upgrades all Chocolatey-managed packages to their latest versions.
- Windows OS
- Administrator privileges
- Chocolatey package manager installed
None
- Checks if Chocolatey is installed
- Runs choco upgrade all with auto-confirmation
- Reports final status
- No secrets in logs
- 0 = Success
- 1 = Failure (Chocolatey not installed)
[ CHOCOLATEY CHECK ]
--------------------------------------------------------------
Checking for Chocolatey...
Chocolatey is installed
[ UPGRADE ]
--------------------------------------------------------------
Upgrading all Chocolatey packages...
[Chocolatey output...]
Upgrade completed
[ FINAL STATUS ]
--------------------------------------------------------------
Result : SUCCESS
All packages upgraded
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
- 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps
- View Script Source
- Scripts - Back to script index