Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
scripts
hosting
jscript
remote
scripting.wsh
scriptlets
vbscript
virus.discussion
  
 
date: Sat, 9 Feb 2008 00:37:48 +0530,    group: microsoft.public.scripting.remote        back       


create users   
how to create users remotely using script
date: Sat, 9 Feb 2008 00:37:48 +0530   author:   Rajesh Sundaran

Re: create users   
From a domain member workstation you can do this from a command prompt with 
a command like this:

net user juser Password /add /domain

This will create a user account in the default USERS container.  To create 
100 users you could do something like this;

for /L %i in (1,1,100) do @net user testuser-%I P@ssw0rd /add /domain

Another option would be to use the DSADD User command from a CMD prompt.

There are many ways using ADSI and VBScript to accomplish this but you 
haven't really said how much of the account you need to populate or what you 
are comfortable working with.


-- 
Jeffery Hicks MCSE, MCSA, MCT
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org
http://jdhitsolutions.blogspot.com

Now Available: WSH and VBScript Core: TFM
Now Available: Windows PowerShell v1.0: TFM 2nd Ed.


"Rajesh Sundaran"  wrote in message 
news:eCQDpXoaIHA.5208@TK2MSFTNGP04.phx.gbl...
> how to create users remotely using script
>
date: Mon, 18 Feb 2008 09:15:50 -0500   author:   Jeffery Hicks [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us