Powershell script to find and/or delete duplicate files
- Explicit in Windows PowerShell – it allows you run the script on all modern Windows computer, without installing/import anything.
- Attention! This script can delete files! Use only at your own risk! Only use the script if you understand what it is doing.
Function:
There are two scripts. The first one is getInventur.ps1
. The script ask you for folder to scan, and make an inventur of Files with MD5 checksum. The inventure is then stored on .\All-Files-With-Hashes.csv
. On second csv names .\All-Duplicate-Files.csv
you find all duplicate files.
The second script .\deleteDuplicateFiles.ps1
open a form where you can choose some options (check/move/delete/delete empty folder).
Link GitHub: https://github.com/vitalyruhl/FindDuplicateFiles
