/build/static/layout/Breadcrumb_cap_w.png

CSVDE to add new users

Hey im trying to get this script to work on my 2008 DC 

dn, sAMAccountName, userPrincipleName, objectClass

"cn=Dan Hoffman, ou=Sales, dc=%D-Jake%, dc=local", DanHoffman, DanHoffman@%D-Jake%.local, user

"cn=Mike Vicek, ou=Sales, dc=%D-Jake%, dc=local", MikeVicek, MikeVicek@%D-Jake%.local, user

"cn=Don Hawkins, ou=Sales, dc=%D-Jake%, dc=local", DonHawkins, DonHawkins@%D-jake%.local, user

And it keeps shooting me errors about error on line 2 after doing some reading this doesnt really help narrow it down any advice?


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Spelled Principal wrong and changed %D-Jake% to D-Jake just dropped % signs and it went no problem.
Posted by: Aft3rmath 12 years ago
Senior White Belt
1

Friend made me feel foolish :( spelt Principal wrong and tchanged %D-Jake% to D-Jake just droped % signs and it went no problem.


Comments:
  • Good question though! Do you like scripting better than using the gui? - CML_50oldfox 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ