See this <a href="http://itknowledgeexchange.techtarget.com/itanswers/i-want-to-write-a-utility-which-will-read-domain-users-details-from-the-active-directory-and-dump-it-in-a-database/">similar question</a> which recommends the use of the dsquery command. Here's another tip that might help you from <a href="http://itknowledgeexchange.techtarget.com/itanswers/editing-active-directory-users-offline/">another ITKE user's question</a>.
Last Wiki Answer Submitted: September 24, 2010 5:32 pm by Labnuke9932,645 pts.
All Answer Wiki Contributors: Labnuke9932,645 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
As my learned colleague above states, it is possible using dsquery/dsadd (or dsmod if they exist) but this is quite cumbersome.
Alternatively, you could use a little custom VBScript or Powershell. Better to learn now and futureproof yourself – there are plenty of examples online and especially from Microsoft’s own Scripting Guy column.
The tool best suited for your requirement is likely csvde:
http://technet.microsoft.com/en-us/library/cc732101(WS.10).aspx
As my learned colleague above states, it is possible using dsquery/dsadd (or dsmod if they exist) but this is quite cumbersome.
Alternatively, you could use a little custom VBScript or Powershell. Better to learn now and futureproof yourself – there are plenty of examples online and especially from Microsoft’s own Scripting Guy column.