Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » ConvertFrom-CSV

ConvertFrom-CSV - Powershell 2.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-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.