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

Download Data Protection Manager 2007Disaster recovery at a low cost Maximize speed, performance and reliablity of your PCs and servers—automatically!Speed Up Your PC! Try Diskeeper 2008 with InvisiTasking Free Now! Microsoft Learning Snack - Green IT Through Virtualization Many organizations face rising operating costs caused by excessive energy consumption. Virtualization and "Green IT" can help cut these costs. Get the information you need to bring Green IT savings to your business. Order Your Fundamentals CD Today!Register today for your in-depth copy of one of three Fundamental CDs on the following topics – Exchange, SQL, and SharePoint. Microsoft Learning Snack - Virtualization With Windows Server 2008Windows Server 2008 includes virtualization technology that allows many operating systems - including open source - to run on a single host. Come learn the basics of implementing these features. Microsoft Learning Snack - Virtualization BasicsWith virtualization, computing components essentially become on-demand services, freeing each element of a system from the others. This short video explains the needs, benefits, and technologies behind virtualization. Microsoft Learning Snack - Virtualization BasicsWith virtualization, computing components essentially become on-demand services, freeing each element of a system from the others. This short video explains the needs, benefits, and technologies behind virtualization. Microsoft Learning Snack - Virtualization With Windows Server 2008Windows Server 2008 includes virtualization technology that allows many operating systems - including open source - to run on a single host. Come learn the basics of implementing these features. Empower Your Processes with PowerShell 201Paul Robichaux delves deep into PowerShell how-tos in 3 informative lessons, each followed by live Q&A—all on your own computer! Register today! Microsoft Learning Snack - Green IT Through VirtualizationMany organizations face rising operating costs caused by excessive energy consumption. Virtualization and "Green IT" can help cut these costs. Get the information you need to bring Green IT savings to your business. New Release: Windows IT Pro Master CD13 years of content archives, fast answers with advanced search tools, and full access to WindowsITPro.com—order today!

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