Author Posts

August 29, 2016 at 2:33 pm

By default, Export-CSV and ConvertTo-CSV prepend type information to the result. "Information" in this case meaning just the name.

Is this useful for anything? Does anyone use it? Does anyone intentionally not use -NoTypeInformation ?

August 29, 2016 at 2:35 pm

When you import a CSV with type information, it gets injected into PSTypeNames. That's about it. I don't use it.

August 29, 2016 at 4:20 pm

What Dave said. It's mainly used for deserialization, to provide a more consistent pipeline behavior. There's some ETS tie-in as well, although I don't think I've ever seen an example of that being actually practical or beneficial.