Skip to content

Instantly share code, notes, and snippets.

View vavalomi's full-sized avatar

Zurab Sajaia vavalomi

View GitHub Profile
@vavalomi
vavalomi / Split-CSV.ps1
Created October 1, 2021 17:25
Commandlet to split CSV file vertically in Powershell
<#
.SYNOPSIS
Split CSV file vertically to have specified number of columns in each file
.DESCRIPTION
This is an example function how to split a wide file into multiple narrower files.
Potential use cases could be importing data from a csv file into an SQL database,