Results 1 to 5 of 5

Thread: CSVDE code to export without DN attribute

  1. #1
    Join Date
    Feb 2009
    Posts
    20

    CSVDE code to export without DN attribute

    Does anyone know is there a way to export AD attribute using CSVDE without exporting DN attribute? I do not wan't the DN to be exported.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,139

    Re: CSVDE code to export without DN attribute

    You need to know about the LDAP attribute. The LDAP attribute is equivalent of common Active Directory names. You must try importing LDAP which serves the best CSVDE import. The secret of learning the names of LDAP attributes is to compare what you see in Active Directory Users and Computers with the the equivalent in ADSI Edit. A variation of this technique is to match a value in the Excel export with the same value on the Active Directory properties sheet.

  3. #3
    Join Date
    May 2008
    Posts
    4,831

    Re: CSVDE code to export without DN attribute

    ActiveWidgets

    ActiveWidgets is a fast and compact javascript component library. It includes very powerful datagrid control, AJAX data tools for JSON, XML and CSV, and several additional controls, like tabs, combo, tree, checkbox list and others.

    ActiveWidgets is one of the most popular commercial AJAX component libraries and is used in production since 2003 in government, military, banking, telecommunications, logistics, manufacturing and many other industries.

  4. #4
    Join Date
    Apr 2008
    Posts
    4,088

    Re: CSVDE code to export without DN attribute

    Hall of fame LDAP attribute - DN distinguished name

    As the word 'distinguished' suggests, this is THE LDAP attribute that uniquely defines an object. Each DN must have a different name and location from all other objects in Active Directory. The other side of the coin is that DN provides a way of selecting any object in Active Directory. Once you have select the object, then you can change its attributes.

    Time spent in getting to know the DN attribute will repay many fold. Observe the different components CN=common name, OU = organizational unit. DC often comes with two entries, DC=CP, DC=COM. Note that DC=CP.COM would be wrong. Incidentally in this situation, DC means domain content rather than domain controller.

    Another point with the syntax is to check the speech marks; when used with VBScript commands, DN is often enclosed in "speech marks". Even the speech marks have to be of the right type, "double quotes are correct", 'single quotes may be ignored' with unpredictable results. Finally, pay particular attention to commas in distinguished names.

  5. #5
    Join Date
    Feb 2009
    Posts
    20

    Re: CSVDE code to export without DN attribute

    Thanks for the reply. I know the usage of the DN but i need a .csv file without DN field to run some in house application for other usage. The file will not use to import back into AD. Does have any vbsript to remove the entire column of the .csv file? any idea?

Similar Threads

  1. Replies: 1
    Last Post: 19-03-2011, 01:28 AM
  2. Export a code signing certificate to a PFX file
    By michaels in forum Windows Software
    Replies: 2
    Last Post: 04-04-2009, 02:25 PM
  3. Exporting member of a particular group using csvde
    By Graham in forum Active Directory
    Replies: 8
    Last Post: 27-03-2008, 06:01 PM
  4. Export Group membership using script\CSVDE
    By PK in forum Windows Server Help
    Replies: 3
    Last Post: 08-10-2007, 07:46 PM
  5. csvde export, excluding specific OU's.
    By Vicious in forum Active Directory
    Replies: 10
    Last Post: 27-08-2007, 06:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,059,164.79733 seconds with 17 queries