ForEach-Object -inputobject (get-content c:\file.txt) {$_}