Add-Content c:scripts est.txt "The End"
Get-Content inputFile1.txt, inputFile2.txt | Set-Content joinedFile.txt # Also supports wildcards Get-Content inputFile*.txt | Set-Content joinedFile.txt