You can use the below PowerShell script to compare the hash values of multiple pairs of files.
Begin by giving each path for each file in your data set a unique name.
$file1 = "C:\foofolder\set1\analysis.xlsx”
$file2 = "C:\foofolder\set2\analysis.xlsx"
$file3 = "C:\foofolder\set1\Memo.docx”
$file4 = "C:\foofolder\set2\Memo.docx"
$file5 = "C:\foofolder\set1\Show1.pptx”
$file6 = "C:\foofolder\set2\Show1v2.pptx"
. . . then prepare lines comparing the hash of the first file to the second file:
if((Get-FileHash $file1).hash -ne (Get-FileHash $file2).hash)
. . . . you can parse through your data on an Excel spreadsheet like this:
![](https://static.wixstatic.com/media/af7fa4_776cce1c447e45f2b1b24ebfbb4b2e13~mv2.png/v1/fill/w_49,h_15,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_776cce1c447e45f2b1b24ebfbb4b2e13~mv2.png)
. . . using a formula to number the files side by side. Copy the lines to a text editor and remove the resulting tabs, putting each line of script on a new line as necessary.
The script will give you a list of which files are same and which are different in the same order in which they are listed in the script.
![](https://static.wixstatic.com/media/af7fa4_ce6acd602d7a4df88abdf7aca6516716~mv2.png/v1/fill/w_49,h_26,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_ce6acd602d7a4df88abdf7aca6516716~mv2.png)