WSH: Get remote information

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ely Raeds
    New Member
    • Apr 2007
    • 8

    WSH: Get remote information

    Hey

    I need a script that checks the domain name (and shows it with an echo) and then he uses that domain name to create a user/password in existing OU.

    So I need to retrieve:

    - Domain name
    - OU

    I need to make:

    - User with password

    Does anyone have an idea how to? Found a code online?

    It's something I want to test in my VirtualPC.

    Greetings
  • danp129
    Recognized Expert Contributor
    • Jul 2006
    • 323

    #2
    You'll want to visit Script Center.

    Download whatever interests you but get the Portable Script Center...

    In the Portable Script Center, Search for "list domain controller" and "create a user account". You should find enough information to get you started.

    Comment

    Working...