I need a simply file compare of 2 files with no headers, but the 5th column in both files contains a value that has dates, and the 1st,2nd,3rd columns have values that can correlate to entity,account,subacct that also could be used for uniqueness. I tried to use this script but didn't produce the results expected. I would just like a 3rd file showing diff's.
$strReference = Get-Content "c:\glrepts\detail.augfinal.txt"
$strDifference = Get-Content "c:\glrepts\detail_pm.txt"
Compare-Object -referenceObject $strReference -differenceObject $strDifference `
-syncWindow 100 -includeEqual