CreateUsers.vbs Syntax

command promptOpen command prompt now.


One StepCreateUsers.vbs adspath [/property1:propertyvalue1
[/property2:propertyvalue2 [...]] | /I:inputfile> [/U:username] [/W:password] [/Q]

Where:

adspath
is the ADsPath of a domain or container where the user accounts will be created (mandatory.)
inputfile
is an input file name. It is used where multiple user accounts are to be created.
property1, property2, …
are names of user properties.
propertyvalue1, propertyvalue2, …
are values of corresponding user properties.
username and password
are the user name and password of the current user.
/Q
suppresses all output messages.

Note:

The ADsPath parameter is mandatory. The default of username and password are those of the current user.

The name and password properties are required to create a user account using WinNT directory service.

The CN, SamAccountName and password properties are required to create a user account using LDAP directory service.