title: out-file with foreach | explanation
body: <p>I would like to ask you pretty easy question about foreach and output,</p>
  
  <p>I noticed that while we are trying to run foreach and then export it by out-file it is more complicated, my question is what is the right way to export the content with foreach ?</p>
  
  <p>For instance I prepare this:</p>
  
  <pre><code>Get-Content C:\Windows.old\1.txt
  $output = 
  Foreach ($line in $file)
  
  {
  
  $line + " "+ $line.Length + " is the lengh of you user name" 
  }
  </code></pre>
  
  <p>And I know that is incorrect, I am looking for good explanation </p>