This PowerShell script finds two files within x seconds of each other. You can specify the max difference in time with the variable “$maxDifferenceInSeconds”. With a few changes you could make this program work with minutes, hours or days. In our scenarios, we receive files from a vendor or another application. Sometimes, they send us […]
Month: May 2022
PowerShell to Sort Contents of Each File in Directory (Recursively)
We were receiving some files of data that was not sorted, and needed to be able to do a side-by-side compare of two files. Two files could have the same data values, but might not be in the same order. Without the data being sorted, the compare was basically impossible. cls # # Author: Neal […]