PDA

View Full Version : Creating Users Using Excel Template Error*


ali_manzoor
02-07-2009, 12:45 PM
When i write down the script on excel then i have face a problem my script is is

dsadd user "cn=AManzoor, ou=Lahore, ou=Pakistan, dc=test, dc=net" -fn Ali -ln Manzoor -pwd P@ssw0rd -mustchpwd yes

and when i put in excel then i have save it .prn extention after that i open this file in notepad then wirten there this script

dsadd user "cnAManzoor, ou=Lahore ou=Pakistan,dc=test,dc=net" #NAME? #NAME? #NAME?

please help me and tell me how i can write correct script in excel,

thanks so much ,

Biggles77
02-08-2009, 09:24 AM
Did you try saving it as a CSV instead of a PRN file?

ali_manzoor
02-08-2009, 12:18 PM
Did you try saving it as a CSV instead of a PRN file?

No i have not save in CSV bkz in 70-640 Sir Coach said file save with .PRN

wel

when i enter the switch -fn then this prob came,

Coach
02-09-2009, 11:09 AM
If you're using the file I provide with the 640 course, just save the SaveThisSheetAsTextFile sheet as a .txt file. Also, looks like you have an error in your excel calculation if you're trying to write it from scratch. #NAME errors result from having a named cell in the equation that doesn't actually exist.

Your best bet is to go back and reverse-engineer the file I provide with the course.

ali_manzoor
02-09-2009, 06:11 PM
Thanks sir coach its done

GOD bless you amen.

Biggles77
02-10-2009, 06:42 AM
Guess I need to change to the regular scheduled channel of 70-640, eh Coach. :eek:

ali_manzoor
02-10-2009, 07:21 AM
Sir Coach!

CAN we also write script on .TXT file direct ????????????

Coach
02-10-2009, 09:56 AM
ali_manzoor: Sure, you can write scripts all day long in Notepad. Just save them as .bat and run 'em from the command line!

Biggles77: LOL...it's all about the regularly scheduled program!

ali_manzoor
02-10-2009, 11:18 AM
Dear Sir Coach

one more Problem i have WSUS Server and i have mention at technical support section please help me if you don,t mind ,

Thanks your are Really Great

GOD BLESS YOU AMEEEN .