title: Alias for "| foreach { "$_" }" in PowerShell
body: <p>I like to use the following code to emulate the Unix "find" behavior:</p>
  
  <pre><code>ls DIRECTORY -recurse -include PATTERN | foreach { "$_" }
  </code></pre>
  
  <p>In fact, there are a couple of other commands that I'd like to append this <code>| foreach { "$_" }</code> to.  So I'm trying to find a way to make this easier to type.  I tried stuff like this:</p>
  
  <pre><code>function xfind {
      ls $args | foreach { "$_" }
  }
  </code></pre>
  
  <p>And then I invoked it like so:</p>
  
  <pre><code>xfind DIRECTORY -recurse -include PATTERN
  </code></pre>
  
  <p>But that seemed to do the wrong thing...</p>