Skip to content

v2.9.0 Add-ToPath removes folders that don't exist - Add-ToPath updated to make it better

Latest

Choose a tag to compare

@PeterCullenBurbery PeterCullenBurbery released this 26 Jan 11:52
· 3 commits to main since this release

[2.9.0] - 2026_001_026_005_033_037_America_slash_New_York

Added

  • Add-ToPath Enhancement:
    • Added logic to automatically prune/delete folders from the system PATH that no longer exist on the local disk.
    • Implemented deduplication to remove redundant entries during the update process.

Changed

  • Refactored Add-ToPath internal variables and method parameters to use snake_case naming convention (e.g., $path_to_add, $abs_path, $reg_key_path).
  • Updated the Add-Type mechanism to use dynamic naming, preventing "Type already exists" errors when re-defining the function in a single PowerShell session.