Ran across this script on the Hey, Scripting Guy! Blog
Use PowerShell to Remove Data from CSV File by Matt Tisdale
If you create a number of reports that have data not required for all end users this is a fast way to remove the columns that are not applicable to each user, I know that it may be just as easy to create new reports for each users need, but if you are tasked with creating a report it may provide the data the user needs immediately as you work to capture the data the user may need
Use PowerShell to Remove Data from CSV File by Matt Tisdale
If you create a number of reports that have data not required for all end users this is a fast way to remove the columns that are not applicable to each user, I know that it may be just as easy to create new reports for each users need, but if you are tasked with creating a report it may provide the data the user needs immediately as you work to capture the data the user may need