maloaupito
Technical User
How do I create a default password for multiple users that are created from the following example .vbs file in W2K Server?
Here's what I know so far. I created a file called "users.vbs" and in the file is for example:
DN, objectclass, userAccountName, userPrincipalName
"cn=DoeJ,dc=company,dc=com",user,DoeJ,DoeJ@company.com
The above creates a user with no password if script is run from the command prompt "csvde -i -f users.vbs" .
Obviously there would be more lines in the above file with muliple users.
I want to include in users.vbs an attribute that will create a default password in line 1 with a value set in the subsequent lines of the script. I have tried the attributes userPassword, userDefaultPassword, DefaultPassword, Password all in different locations in line 1 of the script with the attribute value in the matching location in line 2 - all variations do not create any password.
What's the correct way to create a default password?
OR is there another way other than a .vbs file to create multiple users with a default password from a prepared file?
Here's what I know so far. I created a file called "users.vbs" and in the file is for example:
DN, objectclass, userAccountName, userPrincipalName
"cn=DoeJ,dc=company,dc=com",user,DoeJ,DoeJ@company.com
The above creates a user with no password if script is run from the command prompt "csvde -i -f users.vbs" .
Obviously there would be more lines in the above file with muliple users.
I want to include in users.vbs an attribute that will create a default password in line 1 with a value set in the subsequent lines of the script. I have tried the attributes userPassword, userDefaultPassword, DefaultPassword, Password all in different locations in line 1 of the script with the attribute value in the matching location in line 2 - all variations do not create any password.
What's the correct way to create a default password?
OR is there another way other than a .vbs file to create multiple users with a default password from a prepared file?