title: How to get PowerShell to display registry Data values
body: <p>Take the Winlogon registry section, I would like PowerShell to display the Data value for 
  DefaultUserName.</p>
  
  <p>This is as far as I have got:</p>
  
  <p>Stage 1</p>
  
  <pre><code>get-itemproperty -path "hklm:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\"
  </code></pre>
  
  <p>Stage 2</p>
  
  <p>I can append:</p>
  
  <pre><code>-Name DefaultUserName
  </code></pre>
  
  <p>But this won't return a value.</p>
  
  <p>Also other Names, despite being visible in regedit, don't show in PowerShell, for example AutoAdminLogon.</p>
  
  <p>Question: how can make PowerShell display what I can see with regedit?</p>