ConvertFrom-CSV - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
ConvertFrom-CSV
Short description Converts object properties in comma-separated value (CSV) format into CSV versions of the original objects. Syntax ConvertFrom-CSV [[-Delimiter] <char>] [-InputObject] <PSObject[]> [-Header <string[]>] [<CommonParameters>] ConvertFrom-CSV -UseCulture [-InputObject] <PSObject[]> [-Header <string[]>] [<CommonParameters>] Description The ConvertFrom-CSV cmdlet creates objects from CSV variable-length strings that are generated by the ConvertTo-CSVcmdlet. You can use the parameters of the ConvertFrom-CSV cmdlet to specify the column header row, which determines the property names of the resulting objects, to specify the item delimiter, or to direct ConvertFrom-CSV to use the list s eparator for the current culture as the delimiter. The objects that ConvertFrom-CSV creates are CSV versions of the original objects. The property values of the CSV o bjects are string versions of the property values of the original objects. The CSV versions of the objects do not h ave any methods. You can also use the Export-CSV and Import-CSV cmdlets to convert objects to CSV strings in a file (and back). Thes e cmdlets are the same as the ConvertTo-CSV and ConvertFrom-CSV cmdlets, except that they save the CSV strings in a file.