I have 2 files, each with data (actually each with only 1 column of data) I want merged into 1 file with 2 columns:
The 2 files are 11.txt and 12.txt
I want 13.txt to have column A with the data from 11.txt and column B to have the data from 12.txt
Get-ChildItem -Recurse | ?{ $_.PSIsContainer } | Select-Object FullName | Export-Csv -path C:\11.txt -notype $a = import-csv "c:\11.txt" $a | foreach ($_) {(Get-ChildItem $_.fullname).Count} > C:\12.txt
My searched for this have been leading me to merging the files but with the assumption that the files each have the same header information.
Any help is appreciated.
Thanks