Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



CSVDE code to export without DN attribute

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 24-04-2009
Member
 
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.
Reply With Quote
  #2  
Old 24-04-2009
chroma's Avatar
Member
 
Join Date: Apr 2008
Posts: 2,144
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.
Reply With Quote
  #3  
Old 24-04-2009
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,810
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.
Reply With Quote
  #4  
Old 24-04-2009
ThoMas321's Avatar
Member
 
Join Date: Apr 2008
Posts: 4,078
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.
Reply With Quote
  #5  
Old 24-04-2009
Member
 
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?
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "CSVDE code to export without DN attribute"
Thread Thread Starter Forum Replies Last Post
Any danger in using CSVDE in export mode? Alan Active Directory 8 17-11-2009 03:17 AM
Export all AD Groups with member : CSVDE ? anuloma_viloma Active Directory 1 08-09-2009 10:28 PM
CSVDE code to export without DN attribute LucasYew Active Directory 1 24-04-2009 10:08 AM
Export Group membership using script\CSVDE PK Windows Server Help 3 08-10-2007 08:46 PM
Re: csvde export, excluding specific OU's. Michael-Dallas Active Directory 13 27-08-2007 07:30 PM


All times are GMT +5.5. The time now is 11:01 PM.