title: I am trying to Pipe the contents of a variable (array) to Get-ADUser
body: <p>Here is my code:</p>
  
  <p>The contents of $EuropeUsers2 is: 
  jsmith1
  jsmith2
  jsmith3
  jsmith4</p>
  
  <pre><code>$EU = ForEach ($User in $EuropeUsers2) { Get-Aduser $User -Server "emea.abc.local" }
  </code></pre>
  
  <p>The error I am getting is something like: Get-ADUser : Cannot bind parameter 'Identity'. Cannot convert value "@{SamAccountName=jsmith1}"</p>
  
  <p>I know I must be missing something small can someone please advise. </p>