Just one question, what does this mean:
When working with large CSV files, instead of piping the output of Import-Csv cmdlet is a little faster and does not consume a whole lot of memory.
Which method is faster?
Apologize for the ambiguity. When you read the whole CSV file into a variable it is going to consume memory to keep the object in memory.
What I meant was that "when working with large CSV files, piping the output of Import-CSV cmdlet is a little faster and does not consume a whole lot of memory."
-Hope is a heuristic search ~Hemanth