title: How do I do 'dir /s /b' in PowerShell?
body: <p>I have a folder with three files and want the equivalent of <code>dir /s /b</code> in PowerShell. How do I do that?</p>
  
  <p>For example, if the folder name is <code>temp3</code> and it contains three text files - <code>a.txt</code>. <code>b.txt</code>, and <code>c.txt</code>, doing</p>
  
  <pre><code>C:\temp3&gt; dir /s /b
  </code></pre>
  
  <p>gives me</p>
  
  <pre><code>C:\temp3\a.txt
  C:\temp3\b.txt
  C:\temp3\c.txt
  </code></pre>
  
  <p>How do I get the <em>same</em> result in PowerShell?</p>