How to export dump from AD

Posted on Updated on


There are 2 commands available for this:

1. Go to Start -> Run ->cmd

Paste the command in the below format:

ldifde

ldifde -f Exportuser.ldf -s ADservername -d “CN=username,CN=Users,DC=xxx,DC=xxx,DC=xxx,DC=com”

csvde

csvde -m -f AccountName_mailboxes.txt -d “cn=ADusername,OU=Group Mailboxes,OU=Groups,DC=xxx,DC=xxx,DC=xxx,DC=com” -r “(&(objectClass=*)(mail=*))” -l objectClass,member,displayName,memberOf,proxyAddresses,legacyExchangeDN,title,telephoneNumber,facsimileTelephoneNumber,mobile,homephone,givenName,company,userPrincipalName,co,c,physicalDeliveryOfficeName,postalCode,sn,st,streetAddress,title,wWWHomePage,description,l,initials,info,sAMAccountName

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s