I have a VBS script and would like to query all AD Computer accounts and the lastLogon attribute. My search criteria is this. objCommand.CommandText=("<LDAP://DC=flhlaw,DC=local>;(&(|(objectCategory=person)(objectCategory=computer))(objectClass=user));distinguishedName,name,lastLogon,givenName,sAMAccountName,memberOf;subtree;") when I echo the "name" and "distinguishedName" I have no errors, but when I add "lastLogon" I receive (18, 1) ADODB.Recordset: Item cannot be found in the collection corresponding to t he requested name or ordinal. What am I doing wrong?