heraflux/BLGtoSQL

Typo in BLGtoSQL.ps1

Closed this issue · 1 comments

(

get-childitem $PerfmonDirectory -recurse -Filter "*.blg" | % { relog $_.FullName -f tsv -y -o ($_.FullName -Replace (".blg",".csv")) } | out-null
)
I believe this line should show 'csv' not 'tsv' see below:
get-childitem $PerfmonDirectory -recurse -Filter "*.blg" | % { relog $_.FullName -f csv -y -o ($_.FullName -Replace (".blg",".csv")) } | out-null

Actually, "tsv" is indeed correct. Some Perfmon counters have commas in their names, and their presence causes things to break when using CSV.

TSV uses tabs instead of commas, so the commas in Perfmon counters won't cause issues.