Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

create users

0 views
Skip to first unread message

Rajesh Sundaran

unread,
Feb 8, 2008, 2:07:48 PM2/8/08
to
how to create users remotely using script


Jeffery Hicks [MVP]

unread,
Feb 18, 2008, 9:15:50 AM2/18/08
to
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" <rajesh....@wipro.com> wrote in message
news:eCQDpXoa...@TK2MSFTNGP04.phx.gbl...

0 new messages