Skip to content

Instantly share code, notes, and snippets.

@ktran235
ktran235 / mergeCSVFiles.ps1
Created July 27, 2020 20:36 — forked from conrjac/mergeCSVFiles.ps1
Powershell Script to merge multiple CSV files into one (by appending each file to the end)
$files = Get-ChildItem [INPUT FOLDER PATH - e.g C:\Data\]*.csv
Get-Content $files | Set-Content [OUTPUT FILE PATH - e.g C:\Data\MergedCsvFile.csv]