I have some CSV files where I need to delete all lines that contain a date that is greater than a specified date. How would I do this in PowerShell?
BTW: here is the date format: 09/29/2011
Example: I would want to delete all lines that contain the date greater than 09/29/2011.
000329|09/30/2011|BLNDCOM|Items||||||||||||||||||||||1||1||||||||3|1||2|||||||||||1||||1||2|1||2||1|1|2|3|1|1|1|4|1|1|1||1|3|||||2|||1||||||||2|||||||||||