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.
jamesmetcalf74Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ITguy565Commented:
Is there anything else in that folder that doesn't need to be moved to c:\_admin\reads ??
0
Shaun VermaakTechnical SpecialistCommented:
Not PowerShell but you can run this
Copy *.* Combined.txt

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jamesmetcalf74Author Commented:
that thing worked like a charm
thanks dude
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.