Skip to content

The Cleaners

Windows maintenance commands with explicit safety controls. The published 0.0.15-beta package is a prerelease rather than a production-ready 1.0 release. The repository continues 1.0 preparation from that package's exact source.

The 0.0.15-beta release passed exact source/artifact, protected publication, and fresh Gallery-install validation. Windows, IIS, Exchange, and profile lab validation is deferred future work, not underway.

Install-Module -Name TheCleaners -Repository PSGallery -RequiredVersion '0.0.15-beta' -AllowPrerelease

Windows PowerShell 5.1 is the minimum; the target policy also includes Microsoft-supported PowerShell 7 releases on Windows. See support and validation.

Get-TheCleaners -NoLogo
Clear-CurrentUserTemp -Days 30 -WhatIf -PassThru
Clear-WindowsTemp -Days 30 -RemoveEmptyDirectory -WhatIf -PassThru
Clear-OldIISLog -Days 60 -WhatIf -PassThru
Clear-OldExchangeLog -Days 60 -WhatIf -PassThru

The temp cleaners preserve directories unless -RemoveEmptyDirectory is supplied. IIS and Exchange are structurally preview-only; their candidate lists are experimental and deletion is unavailable. Module import is quiet, and Start-Cleaning remains an alias for Get-TheCleaners.

Read safety and confirmation, migration notes, and the 1.0 implementation ledger before using this prerelease. The ledger distinguishes prerelease evidence from product/lab and final 1.0 acceptance. The repository README distinguishes the published Gallery prerelease from a source checkout.

Canonical documentation: https://day3bits.com/TheCleaners/. The Zensical migration merged in PR #41, and its canonical deployment was verified. The separately owned account-root site supplies lowercase compatibility through JavaScript on its 404 page; it is not an HTTP redirect.