You try doing any reasonable data processing with PowerShell and it will use a lot of resources. You can accomplish a lot with awk.
I was a PowerShell advocate but it still has a lot of rough edges which is disappointing. And is very verbose. Sometimes grep | awk can be incredibly succinct and fast.