Here is a VB script to add a Computer account.
Dim Container
Dim ContainerName
Dim User
Dim NewUser
ContainerName = "Container_Name_To_Manage"
NewUser = "User_Account_To_Create"
Set Container = GetObject("WinNT://" & ContainerName)
Set User = Container.Create("User", NewUser)
User.SetInfo
-----Original Message-----
From: Meidling, Keith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 8:16 AM
To: NT 2000 Discussions
Subject: RE: Scripting of account creation?
If you want to use PERL, try the following modules, Win32::NetAdmin,
Win32::AdminMisc, and Win32API::Net
Great modules, and they are very powerful.
Keith
-----Original Message-----
From: La, Minh [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 2:34 PM
To: NT 2000 Discussions
Subject: Scripting of account creation?
Are there any sample VBS or Perl script or App that demostrat how to create
a set of accounts? This could be used in a class room environment where
users are created and deleted in a mass basis.
TIA
Minh
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
________________________________________________
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.
------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]