title: How to remove FullName header from PowerShell's dir output
body: <p>I use Powershell 5.1.</p>
  <p>The code:</p>
  <pre><code>$mysubfolders = dir $mystartpath | select FullName
  </code></pre>
  <p>gives me a listing of subfolders, but this listing has the header &quot;FullName&quot;.</p>
  <p>Because of this header, when I do:</p>
  <pre><code>Set-Location $mysubfolders[1]
  </code></pre>
  <p>I receive an error: a drive with the name &quot;@{FullName=C&quot; is not available.</p>
  <p>How can I ignore or remove the &quot;FullName&quot; header?</p>
  <p>Thanks!</p>