Results 1 to 3 of 3

Thread: Can somebody help me with this little script?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    10

    Unhappy Can somebody help me with this little script?

    here's the deal...

    From the text file "users.txt" I must create at the root of Active Directory a OU for every user of the text file. I must add every user in it's own OU. The script must work on any domain name and must also be authenticated with the following user:

    User :Administrator
    Password: password

    I must also create a new group that I will add into the OU of the first user. Using FSO, I must add every user in the group.

    Thanks
    Last edited by VeryBasicScriptNoob; Apr 13th, 2005 at 06:36 PM.

  2. #2
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Re: Help a Visual Basic noob...

    Welcome to VBForums!

    First off change the thread title to something more descriptive so that when people are browsing the forum they know what they are looking at.
    Read this post on getting your questions answered http://www.vbforums.com/showthread.php?t=182707

    Second off, what have you done so far?

    Generally people aren't going to write all your code for you.
    You are more likely to get help with specific problems.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    10

    Re: Can somebody help me with this little script?

    Well so far I don't really have anything else than...

    Set objDomain = GetObject("LDAP://dc=nom du domaine,dc=com")
    Set objOU = objDomain.Create("organizationalUnit", "ou=nom de l'OU")objOU.SetInfo

    ...anybody can help me with a few tips?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width