title: powershell get samaccountuser with no formatting
body: <p>I write a powershell command to return the <code>samaccountname</code>, and I kind of get what I want but not exactly.  </p>
  
  <pre><code>PS C:\&gt; (get-aduser -Server -f {(GivenName -eq "Nota") -and (Surname -eq "Realuser")} -Properties SamAccountName | select SamAccountName)
  </code></pre>
  
  <p>This is what I get:</p>
  
  <pre><code>SamAccountName
  
  --------------
  NRealuser
  </code></pre>
  
  <p>This is what I want:</p>
  
  <pre><code>NRealuser
  </code></pre>
  
  <p>So I want the <code>samaccountname</code> without the header.  </p>