Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » ConvertFrom-Csv

ConvertFrom-Csv - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

ConvertFrom-Csv

Short description
Converts object properties in comma-separated value (CSV) format into CSV versions of the original objects.

Syntax


Description
The ConvertFrom-CSV cmdlet creates objects from CSV variable-length strings that are generated by the ConvertTo-CSV 
cmdlet.


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 
separator 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 
objects are string versions of the property values of the original objects. The CSV versions of the objects do not 
have any methods.


You can also use the Export-CSV and Import-CSV cmdlets to convert objects to CSV strings in a file (and back). These 
cmdlets are the same as the ConvertTo-CSV and ConvertFrom-CSV cmdlets, except that they save the CSV strings in a file.