Returning a value from within a ForEach in Powershell
<p>This seems really basic, but I can't see how or why it behaves this way:</p>

<pre><code>function ReturnStuff{
    $a=1,2,3,4,5
    $a.ForEach{
        return $_
    }
}

ReturnStuff
</code></pre>

<p>Why does this give me:
1
2
3
4
5
instead of just 1?</p>