Working with Perfmon CSV logs in Powershell

  • hemanth.damecharla

    SSCommitted

    Points: 1740

    Comments posted to this topic are about the item Working with Perfmon CSV logs in Powershell

    -Hope is a heuristic search :smooooth: ~Hemanth
  • Alex Friedman

    Right there with Babe

    Points: 755

    Very interesting!

    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?

  • Leon . Orlov .

    Ten Centuries

    Points: 1102

    Nice way to make PoSh do the digging for ya. 😎

  • hemanth.damecharla

    SSCommitted

    Points: 1740

    alexf01 (3/6/2012)


    Very interesting!

    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 :smooooth: ~Hemanth
  • Alex Friedman

    Right there with Babe

    Points: 755

    I see. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply