Powershell to combine files

I have a repository of a ton of text files.  unfortunately these files and have been processed and the actual file extension is a mix between dates and other random information. (the files no longer have a .txt at the end of their name
They have the exact same format.  Is there a powershell script that will merge all files in a folder regardless of what the extension is?

if anyone cares to know the location of the files to help with writing the script.
It is c:\_admin\reads

also, in the past when i have used powershell to merge files.  the 1st row or record and last row or record was often disregarded.  I need these rows.
Who is Participating?
Shaun VermaakTechnical Specialist/DeveloperCommented:
Not PowerShell but you can run this
Copy *.* Combined.txt

Open in new window

Is there anything else in that folder that doesn't need to be moved to c:\_admin\reads ??
jamesmetcalf74Author Commented:
that thing worked like a charm
thanks dude
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.