$orig = 'C:\Users\tonycao\work\twincat3-auto-cli\TwinCAT_EL6695_Secondary\TwinCAT_EL6695_Secondary.tsproj' $bak = 'C:\Users\tonycao\work\twincat3-auto-cli\TwinCAT_EL6695_Secondary\TwinCAT_EL6695_Secondary.tsproj.bak' $origHash = Get-FileHash -Path $orig -Algorithm SHA256 $bakHash = Get-FileHash -Path $bak -Algorithm SHA256 Write-Host "tsproj SHA: $($origHash.Hash)" Write-Host "bak SHA: $($bakHash.Hash)" Write-Host "Different: $($origHash.Hash -ne $bakHash.Hash)"