A PowerShell script to delete Path environment variables from Windows Systems that aren't existing anymore.
- Deletes PATH environment variables that aren't existing anymore
- Automatically creates a backup of PATH environment variables
- PowerShell: PowerShell 7 or higher is recommended.
Save the script as Path-Cleaner.ps1
.
Execute the script in PowerShell as Administrator with the following parameters:
.\Path-Cleaner.ps1