title: Get-SPUesr : You must specify a valid user object or user identity
body: <p>I was trying to copy CSV file in to SharePoint 2010 list by using PowerShell. However, when I try to import user names into a people picker field I am getting the error: </p>
  
  <blockquote>
    <p>Get-SPUser : You must specify a valid user object or user identity</p>
  </blockquote>
  
  <p>Here is the powershell I used:</p>
  
  <pre><code>$Item["Assigned To"] = Get-SPUser -Identity $i."AssignedTo"  -web "http://.../"
  </code></pre>
  
  <p>Any ideas? </p>