How do you write an "OR" instead of a "AND" in a CSVDE script..
Posted on 2004-10-19
I have written the following script:
CSVDE -v -f C:\SCRIPT\OUTPUT\Userlist.csv -s APIOAPP1 -d "dc=DOMAIN,dc=COM" -p subtree -r "(&(objectCategory=person)(givenName=*)(mail=*)(userAccountControl=66048))" -l "company,sn,givenName,DisplayName,mail,mailNickname"
The current script works great for returning information that (userAccountControl=66049). What I would like to do is create a "Or" statement in which user(AccountControl=66048 or 512). What is the syntax in order to return the data?