With, vcsadmin.exe, you have the option to supply it a "script".
C:\Program Files\Surgient\VCS>vcsadmin -help
Usage: vcsadmin [options] [command [command options]]
where options are:
-organization <organization> Optional organization name, defaults to the int
ernal organization
-account <account> Account name
-password <password> Password for account
-script <script> Script file containing commands to run
-verbose Display verbose error messages
-help Display help message
Use "vcsadmin help" to show available commands
If you wish to use vcsadmin.exe to script out user creation, then you can put the accountadd commands in file and pass it into vcsadmin.exe
1. Create a file called: addusers.vs, and paste the following information in the file:
accountadd -organization org1 -displayname userName1 -email user1@mydomain.com user1 myPassword1
accountadd -organization org1 -displayname userName2 -email user2@mydomain.com user2 myPassword2
accountadd -organization org1 -displayname userName3 -email user3@mydomain.com user3 myPassword3
2. Execute vcsadmin.exe with the script file:
C:\Program Files\Surgient\VCS> vcsadmin.exe -a admin -p password -script addusers.vs
You can apply the same procedure if you wish to script out other commands from vcsadmin.exe