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

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

Install-Module -Name WinPath-Clean -RequiredVersion 0.2.1

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

Install-PSResource -Name WinPath-Clean -Version 0.2.1

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

(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

Core

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

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
Show more