PowerShell Get Column Names for a CSV File

Get-Member doesn’t always show you what is under the hood for an object.  For that you need the .PSObject property.  Here PSObject.Properties contains CSV column names

About Alan

See http://www.akaplan.com/blog/about/
This entry was posted in PowerShell, Scriptlets and tagged . Bookmark the permalink.

Leave a Reply