Options

LDIFDE Help

RTmarcRTmarc Member Posts: 1,082 ■■■□□□□□□□
Need a little help on figuring out this script. Need to export the following attributes from AD:

- User Name
- Logon ID
- Title
- ADO create date
- Modified Date

ldifde -f audit.ldf -s localhost -r "(&(objectclass=user))(!(userAccountControl:1.2.840.113556.1.4.803:=2))" -l "objectClass, displayname, userPrincipalName, title, whencreated, whenchanged"

Can't figure out what is wrong. I'm looking for only existing, enabled accounts.
Sign In or Register to comment.