I am writing a script using the dsadd utility for creating a user account in our OU. This particular script is designed for just single user creation. I have gotten the dsadd to do everything I want so far but I want to add address info into the creation process as well,i.e., Street, City, State, zip, & country. I cannot find the right switches for this in any documentation and I tried the obvious, -state CA, etc. which did not work.
Here is the script thus far. The admin enters in some info in manually establishing set variables
dsadd user "cn=%firstname% %minit% %lastname%, ou=info" -samid %username% -pwd password -fn %firstname% -mi %minit% -ln %lastname% -mustchpwd yes -desc "Created: %date%" -loscr xdlogon.bat -display "%firstname% %minit% %lastname%" -profile \\server\profiles$\%username% -hmdrv P: -hmdir \\%homesvr%\%username%$ -email "%firstname%.%minit%.%lastname%.company.com"