Powershell - Read CSV File


Advertisements

Cmdlet

Get-Content cmdlet is used to read content of a csv file.

In this example, we're reading content of test.csv.

Get-Content D:\temp\test\test.csv 

Output

You can see following output in PowerShell console.

Mahesh,Suresh,Ramesh
powershell_files_io.htm
Advertisements