-d RootDN The root of the LDAP search (Default to Naming Context)
-r Filter LDAP search filter (Default to "(objectClass=*)")
-p SearchScope Search Scope (Base/OneLevel/Subtree) -l list List of attributes (comma separated) to look for in an LDAP search
-o list List of attributes (comma separated) to omit from input.
-g Disable Paged Search.
-m Enable the SAM logic on export.
-n Do not export binary values
See Figure-1 for outputing Active Directory using CSVDE.exe
![[AD-Tutorial]-How-to-Exporting-Objects-from-Active-Directory-to-an-CSV-File-1 [AD-Tutorial]-How-to-Exporting-Objects-from-Active-Directory-to-an-CSV-File-1](/./images/stories/windows/[AD-Tutorial]-How-to-Exporting-Objects-from-Active-Directory-to-an-CSV-File-1.gif)
Figure-1 CSVDE.exe output