WinPath-Clean
0.2.1
A PowerShell 7 TUI tool to analyze, clean, and optimize your Windows PATH environment variable. Detects duplicates, obsolete paths, and bypasses the 2047 character GUI limit.
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
(c) 2025 Ignacio de Miguel Diaz. MIT License.
Package Details
Author(s)
- Ignacio de Miguel Diaz
Tags
PATH Environment Windows Cleanup TUI System Administration Utility
Functions
Invoke-WinPathClean Get-PathAnalysis Set-CleanPath Optimize-PathOrder Add-SafePath Backup-Path Restore-Path Get-PathBackups Export-PathReport
PSEditions
Dependencies
This module has no dependencies.
Release Notes
Version 0.2.1: Security update - Added path validation against forbidden characters, reserved names, path traversal attacks, and injection vectors. 253 tests total.
FileList
- WinPath-Clean.nuspec
- CHANGELOG.md
- README.md
- WinPath-Clean.psd1
- Private\PathHelpers.ps1
- Private\TuiHelpers.ps1
- Public\Add-SafePath.ps1
- Public\Backup-Path.ps1
- Public\Export-PathReport.ps1
- Public\Get-PathAnalysis.ps1
- Public\Invoke-WinPathClean.ps1
- Public\Optimize-PathOrder.ps1
- Public\Set-CleanPath.ps1
- LICENSE
- WinPath-Clean.psm1
- Private\PathOptimizer.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.3.1 | 3 | 12/26/2025 |
| 0.3.0 | 2 | 12/26/2025 |
| 0.2.1 (current version) | 5 | 12/26/2025 |
| 0.2.0 | 3 | 12/26/2025 |
| 0.1.1-beta | 4 | 12/25/2025 |
| 0.1.0-beta | 4 | 12/25/2025 |