copy contents of multiple files to one file powershell

Shell
Get-ChildItem d:\scripts -include *.txt -rec | ForEach-Object {gc $_; ""} | out-file d:\scripts\test.txt
Source

Also in Shell: