I got a csv file that contains some empty rows between the headers and other rows. For example:
Headers----------------------------- Empty Rows------------A------------- Empty Rows------------B------------- Empty Rows------------C------------- Data-------------------------------- Data--------------------------------
How to remove those empty rows (A,B and C) from CSV file using powershell?
I thought this would be an easy Google search but I can only find something like "remove lines from text file".