# Get-ADComputer : Cannot validate argument on parameter 'Identity'

Hello,

I guess I am not understanding ForEach as I get this error:

```Import-Csv C:\temp\XP_disable\computers.csv
ForEach-Object {
}```

ERROR:

```Get-ADComputer : Cannot validate argument on parameter ‘Identity’. The argument is null. Provide a valid value for the argument, and
then try running the command again.```

Is the issue that import-csv is throwing away some object?

If you code is exactly as posted nothing is being sent to ForEach-Object so \$_.Name will be empty.
```Import-Csv C:\temp\XP_disable\computers.csv | ForEach-Object { Get-ADComputer -identity \$_.Name }