- PowerShell Tutorial
- PowerShell - Home
- PowerShell - Overview
- PowerShell - Environment Setup
- PowerShell - Cmdlets
- PowerShell - Files and Folders
- PowerShell - Dates and Timers
- PowerShell - Files I/O
- PowerShell - Advanced Cmdlets
- PowerShell - Scripting
- PowerShell - Special Variables
- PowerShell - Operators
- PowerShell - Looping
- PowerShell - Conditions
- PowerShell - Array
- PowerShell - Hashtables
- PowerShell - Regex
- PowerShell - Backtick
- PowerShell - Brackets
- PowerShell - Alias
- PowerShell Useful Resources
- PowerShell - Quick Guide
- PowerShell - Useful Resources
- PowerShell - Discussion
Powershell - Read CSV File
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
To Continue Learning Please Login
Login with Google