User Tools

Site Tools


choco_cleaner

Choco Cleaner

Chocolatey Software Package Manager: Cloud Monk's Package Manager Book, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Chocolatey Glossary, Chocolatey Fundamentals, Chocolatey Inventor - Chocolatey Designer: Rob Reynolds, Chocolatey DevOps - Chocolatey WinOps - WinOps, Chocolatey Tools (InstChoco, choco-package-list-backup and choco-cleaner by bcurran3), Boxstarter, Chocolatey Community Package Repository, Idempotent, Chocolatey install (InstChoco), Refreshenv, PowerShell on Windows, Package managers, Windows Package Managers, Windows Configuration Management - Windows Server Configuration Management, Ansible on Windows, Chef on Windows, Puppet on Windows, Debloat, choco-package-list-backup, Choco Cleaner, (navbar_choco - see also navbar_brew, navbar_package_manager)

choco install choco-cleaner

Chocolatey v0.12.1

2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:

A pending system reboot request has been detected, however, this is being ignored due to the current Chocolatey configuration. If you want to halt when this occurs, then either set the global feature using:

  • choco feature enable -name=exitOnRebootDetected
  • or pass the option –exit-when-reboot-detected.

Installing the following packages:

choco-cleaner

By installing, you accept licenses for the packages.

Progress: Downloading choco-cleaner 0.0.8.4… 100%

choco-cleaner v0.0.8.4 [Approved]

choco-cleaner package files install completed. Performing other installation steps.

The package choco-cleaner wants to run 'chocolateyinstall.ps1'.

Note: If you don't run this script, the installation will fail.

Note: To confirm automatically next time, use '-y' or consider:

choco feature enable -n allowGlobalConfirmation

Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Adding \ProgramData\chocolatey\bin\choco-cleaner.bat and pointing it to PowerShell command C:\tools\BCURRAN3\choco-cleaner.ps1

SUCCESS: The scheduled task “choco-cleaner” has successfully been created.

Folder: \

TaskName Next Run Time Status

======================

choco-cleaner 2/13/2022 11:00:00 PM Ready

Now configured to run Choco-Cleaner at 11:00 PM every SUNDAY.

You can manually run Choco-Cleaner from the Command Prompt, Powershell, or the Windows Start Menu icon.

The install of choco-cleaner was successful.

Software install location not explicitly set, it could be in package or default install location of installer.

Chocolatey installed 1/1 packages.

See the Chocolatey log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

PS C:\Users\USERNAME> choco-cleaner

Choco-Cleaner.ps1 v0.0.8.4 (05/28/2021) - deletes unnecessary residual Chocolatey files to free up disk space

Copyleft 2017-2021 Bill Curran ([email protected]) - free for personal and commercial use

Choco-Cleaner Summary:

  • Deleting unnecessary Chocolatey _processed.txt (WTF?) file…
  • Deleting 83 unnecessary Chocolatey .ignore files…
  • Deleting 9 unnecessary Chocolatey .old files…
  • Deleting 455 unnecessary Chocolatey cache files (C:\Users\USERNAME\AppData\Local\Temp\chocolatey)…
  • NO unnecessary Chocolatey cache files (C:\Windows\temp\chocolatey) to delete.
  • Deleting 238 unnecessary Nuget cache files…
  • Deleting unnecessary Chocolatey config backup file…
  • Deleting 6 unnecessary Chocolatey lib-bad package files…
  • Deleting 5 unnecessary Chocolatey lib-bkp package files…
  • Deleting 12 unnecessary Chocolatey package embedded archive files in toolsDir…
  • Deleting unnecessary Chocolatey package embedded archives and executables in .nupkg files…
  • Deleting 2 unnecessary Chocolatey package embedded Microsoft installers…
  • Deleting 58 unnecessary Chocolatey package embedded various read me files…
  • Deleted 5 unnecessary Chocolatey orphaned shim files.

Choco-Cleaner finished deleting unnecessary Chocolatey files and reclaimed ~ 8,738,816 KB! – 8.7 GB!!

Found Choco-Cleaner.ps1 useful?

Buy me a beer at https://www.paypal.me/bcurran3donations

Become a patron at https://www.patreon.com/bcurran3


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


choco_cleaner.txt · Last modified: 2024/04/28 03:30 (external edit)