Welcome to Scripting Forums Sign in | Join | Help
in Search

Bulk user id script

Last post 06-27-2007, 5:47 PM by Moongate. 2 replies.
Sort Posts: Previous Next
  •  06-27-2007, 5:47 PM 992

    Bulk user id script

    Hello all,

     

    I am interested to find out if there are any process of script or utility to create a bulk IDs. Any help is grealty apprecited.

     

    Thanks.

     

     
  •  06-28-2007, 10:51 AM 997 in reply to 992

    Re: Bulk user id script

    There are several methods that can be used to create bulk userids.  Using vbscript you could write a script that interfaces with ADSI to create accounts, and then use the script to read all of the account info from a text file.  I've never tried this method, but I'm pretty sure it's possible.

    Another method which I have used is to use the csvde utility.  The easiest way to do this is to set up one account the way you would like it, then run the utility in export mode to get a .CSV file representing the account.  Then you can modify the .CSV file in any way you want, and then re-import it with CSVDE.  There are alot of caveats with using CSVDE, such as not being able to change group memberships (at least I seem to remember that that's one of the things that CSVDE doesn't do).  And there are alot of fields (like created date) that you obviously won't be able to import.  But once you have trimmed your CSV file down to the essential fields, you can either manually copy in all of the data that you need for your accounts, or use a script to manipulate the CSV file so that it includes all of the user data.  And then once again use the CSVDE utility to import them.

     

  •  06-28-2007, 6:16 PM 1005 in reply to 997

    Re: Bulk user id script

    Currently I am in rush to create 800 users id.  It sure will help me if there is a script that interface with ADSI to create accounts. Your idea on using CSDVE is valid and sure will make an effort to work on it.

     Thanks,

    Moongate

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Free Download –VS 2008 TrainingExperts Ken Getz & Robert Green plus labs, code, courseware Maximize speed, performance and reliablity of your PCs and servers—automatically!Speed Up Your PC! Try Diskeeper 2008 with InvisiTasking Free Now! Register for SolarWinds VM MonitorGet X-Ray Vision into Your ESX Servers with SolarWinds FREE VM Monitor GoGrid Offers FREE Trial for Windows Cloud ServersDeploy Windows Server 2003 and 2008 with free load balancing through GoGrid’s award winning web-based GUI – all in less than 5 minutes Order Your SQL Fundamentals CD Today! Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD. How healthy is your Exchange Server? Find out Now!Automatic Exchange Server Maintenance helps prevent disasters and improves performance. Download a FREE Exchange Server analysis tool. You've Deployed SharePoint...Now What?This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions Ease Your Scripting Pains with the Flexibility of PowerShell!Paul Robichaux equips you with PowerShell basics in 3 introductory lessons, each followed by live Q&A—all on your own computer! Register today! What Would You Do If You Ran Microsoft?ITTV's 2008 inaugural video contest, "If I Ran Microsoft..." is your chance to tell it like it is. Be goofy or be serious, but don"t miss this chance to have fun, win prizes, and go viral in a major way. Maximize Your SharePoint InvestmentThis web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content. Rock Your Knowledge, and Compete with Friends and Colleagues!Are you the Web Application Performance Guru in your office? It's time to have fun! Download now to access the crossword puzzle. Challenge yourself and complete this fun activity!

 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing