Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to create Active Directory user account with powershell

I'm trying to add some users onto my active directory through PowerShell I would be greatful if anyone could provide me with a piece of code or any other method of how I could do this.


share|improve this question

marked as duplicate by Sam Nov 29 '11 at 10:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

When you say "any other method" I'm taking it as "aside from Powershell". I generally use CSV files to import and export users to and from AD. You can find more information on technet here:

A question in regards to exporting via Powershell has been asked over at StackOverflow: This may go some way to helping you.

Edit: Infact this may be more relevant: (Apologies for the link bombing).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.