Skip to content

kenmoritest/CSVUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

CSV Utils

SplitCSV.ps1

SplitCSV.ps1 is a module to split CSV files into multiple files.

Primary objective is to devide CSV rows with -maxrow parameter (Deafult: 5000). And we can select fields by specifying the -selectfields paramter to reduce the CSV file size.

.\SplitCSV.ps1 -sourcefile .\sample.csv

.\SplitCSV.ps1 -sourcefile .\sample.csv -maxrow 100

.\SplitCSV.ps1 -sourcefile .\sample.csv -maxrow 100 -selectfields @("FieldA", "FieldB", "FieldC")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published