Fat Frog
2010-01-19 17:06:28 UTC
Hello,
I use csvde.exe to query Active Directory user's first name, last name,
logon name. The result gives me 2000 entries of all users in the domain, but
I only need less than 100 of them that were created since, say, last month.
I am wondering how I would put a filter on the -L of CSVDE.
I run it like this:
csvde -d "ou=DomainUsers,DC=domain,DC=org" -r objectClass=user -L
"sAMAccountName,givenName,sn,whenCreated"
The query result listed under the LDAP label of whenCreated is in the format
of 20100112172907.0Z ("2010-01-12 17:29:07 0Z could be time zone
designation).
It doesn't matter to filter according to the value of numbers or the past
dates, I just need the result that only contains the newly added active
directory users.
Thanks and regards.
I use csvde.exe to query Active Directory user's first name, last name,
logon name. The result gives me 2000 entries of all users in the domain, but
I only need less than 100 of them that were created since, say, last month.
I am wondering how I would put a filter on the -L of CSVDE.
I run it like this:
csvde -d "ou=DomainUsers,DC=domain,DC=org" -r objectClass=user -L
"sAMAccountName,givenName,sn,whenCreated"
The query result listed under the LDAP label of whenCreated is in the format
of 20100112172907.0Z ("2010-01-12 17:29:07 0Z could be time zone
designation).
It doesn't matter to filter according to the value of numbers or the past
dates, I just need the result that only contains the newly added active
directory users.
Thanks and regards.