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.
Assuming that’s a pipe-delimited file.