Ldap filter


<ldap://dc001/dc=corp,dc=local>;*;facsimiletelephonenumber;displayname;department;base

i have query gets 3 fields out of ad. fax, full name , dept.
there way filter fax number show last 4 characters of number.

if ad has value of (123) 456-7890, need 7890 in return.

thanks

 

you can take advantage of script included in thread http://social.technet.microsoft.com/forums/en/winserverds/thread/712e8d64-3dfe-43da-815b-575dea32abc2 (simply change attribute names , adjust value copied format need).

another, more convenient approach accomplishing same goal use bulkmodify - http://www.wisesoft.co.uk/software/passwordcontrol/bulk_modify.aspx

hth
marcin



Windows Server  >  Directory Services



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file