problem when Adding multiple users at once using csvde

Home Forums Scripting PowerShell problem when Adding multiple users at once using csvde

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    tiger1
    Member
    #163579

    hello,

    I am trying to import multiple users into AD W2K8 by following one of microsoft articles. I want to make user accounts enabled, but when I change the value of userAccountControl to 512, I get an error. I also want to include password with the same value ([email protected] for example) and make user change their passwords when first log on. How can I do that?

    objectClass,dn,sAMAccountName,userPrincipalName,userAccountControl
    user,”CN=KMyer,CN=Users,DC=cpandl,DC=com”,KenM,[email protected],514
    user,”CN=WYu,OU=SW Dev,DC=cpandl,DC=com”,WeiY,[email protected],514
    user,”CN=JMorris,OU=Acct,DC=cpandl,DC=com”,JonM,[email protected],514
    user,”CN=YXu,OU=AP,OU=Acct,DC=cpandl,DC=com”,YeX,[email protected],514

    http://technet.microsoft.com/en-us/library/cc732101.aspx

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.