title: powershell binary file comparison
body: <p>All,
  There is a application which generates it's export dumps.I need to write a script that will compare the previous days dump against the latest and if there are differences among them i have to some basic manipulations of moving and deleting sort of stuff.
  I have tried finding a suitable way of doing it and the method i tried was :
  <code>$var_com=diff (get-content D:\local\prodexport2 -encoding Byte) (get-content D:\local\prodexport2 -encoding Byte)</code>
  I tried the Compare-Object cmdlet as well. I notice a very high memory usage and eventually i get a message <code>System.OutOfMemoryException</code> after few minutes. Has one of you done something similer ?. Some thoughts please. 
  There was a thread which mentioned about a has comparison which i have no idea as to how to go about.
  Thanks in advance folks
  Osp</p>