SkillAgentSearch skills...

CsvDataReader

Fast streaming CSV file reader for PowerShell impleted as a DataReader.

Install / Use

/learn @billgraziano/CsvDataReader
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CsvDataReader

A simple C# IDataReader implementation to read CSV files. This was built to improve CSV performance in PowerShell. The goal is to enable code like the following.

If you download the DLL, you need to Unblock it before you can use it. That's done in the File Properties dialog box.

[System.Reflection.Assembly]::LoadFrom("CsvDataReader.dll")
$reader = New-Object SqlUtilities.CsvDataReader("SimpleCsv.txt")
	
$bulkCopy = new-object ("Data.SqlClient.SqlBulkCopy") $ConnectionString
$bulkCopy.DestinationTableName = "CsvDataReader"
	
$bulkCopy.WriteToServer($reader);
View on GitHub
GitHub Stars38
CategoryDevelopment
Updated6d ago
Forks21

Languages

C#

Security Score

75/100

Audited on Apr 2, 2026

No findings