title: powershell Get-Location with short file names
body: <p>In Powershell, how can <code>Get-Location</code> display short file names, in a way similar to <code>dir /x</code> in the command prompt?</p>
  
  <p>In this redacted screenshot of the results of <code>dir /x</code>, it would be <code>PROGRA~1</code> and <code>PROGRA~2</code>:</p>
  
  <pre><code>dir /x  
  . . .   
  xx/xx/xxxx  xx:xx PM    &lt;DIR&gt;          PROGRA~1     Program Files   
  xx/xx/xxxx  xx:xx PM    &lt;DIR&gt;          PROGRA~2     Program Files (x86)
  </code></pre>