title: Issue for import-csv and foreach
body: <p>I want to import a csv, then delete from AD several objects</p>
  
  <pre><code>$ImportComputer = "C:\Users\deng\Desktop\ComputerLastlogondateformatBis.csv"
  
  Import-Module ActiveDirectory
  
  foreach ($Computer in(Import-Csv -Path C:\Users\deng\Desktop\ComputerLastlogondateformatBis.csv))
  {
  Remove-ADObject -Identity $Computer.'Computer'
  </code></pre>
  
  <p>these two object exist in AD, but I cannot seem to find out why it is not working.</p>
  
  <p>see below error message:</p>
  
  <pre><code>Remove-ADObject : Cannot find an object with identity: 'fr-borr-mac' under: 'DC=PII,DC=net'.
  At C:\Users\deng\OneDrive - Aptus Health\Script\Export.ps1:7 char:1
  + Remove-ADObject -Identity $Computer.'Computer'
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (fr-borr-mac:ADObject) [Remove-ADObject], ADIdentityNotFoundException
      + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Management.Commands.RemoveADObject
  
  Remove-ADObject : Cannot find an object with identity: 'jlinmacfr' under: 'DC=PII,DC=net'.
  At C:\Users\deng\OneDrive - Aptus Health\Script\Export.ps1:7 char:1
  + Remove-ADObject -Identity $Computer.'Computer'
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  </code></pre>
  
  <p>Content of the CSV below:</p>
  
  <pre><code>Computer   
  --------   
  fr-borr-mac
  jlinmacfr  
  </code></pre>
  
  <p>Could anyone give input on this?</p>