jonno112
07-25-2004, 10:38 PM
I am currently doing a course on server 2003 and right from the word go i have had issues with active directory command lines eg DSADD DSGET
Well i have had it, below is what i tried to do today and it came up with another error.
The error was;
DSADD failed: 'Rep' is an unknown parameter.
I followed what the lesson plan told me to do but none of them work.
Here is what i typed into scriptcomputer.bat file;
DSADD COMPUTER ?CN=EB-2849,OU=EastBranch,DC=Contoso,DC=COM? -desc ?Sales Rep Computer? -loc ?East Branch Office?
DSADD COMPUTER ?CN=EB-2850,OU=EastBranch,DC=Contoso,DC=COM? -desc ?Sales Rep Computer? -loc ?East Branch Office?
DSADD COMPUTER ?CN=EB-3748,OU=EastBranch,DC=Contoso,DC=COM? -desc ?Sales Rep Computer? -loc ?West Branch Office?
The idea was to add 20 computers to active directory using the DSADD command 10 to the west and 10 to the east.
Please help this is really annoying.
All i want is 1 script to work
Thanks jonno
Well i have had it, below is what i tried to do today and it came up with another error.
The error was;
DSADD failed: 'Rep' is an unknown parameter.
I followed what the lesson plan told me to do but none of them work.
Here is what i typed into scriptcomputer.bat file;
DSADD COMPUTER ?CN=EB-2849,OU=EastBranch,DC=Contoso,DC=COM? -desc ?Sales Rep Computer? -loc ?East Branch Office?
DSADD COMPUTER ?CN=EB-2850,OU=EastBranch,DC=Contoso,DC=COM? -desc ?Sales Rep Computer? -loc ?East Branch Office?
DSADD COMPUTER ?CN=EB-3748,OU=EastBranch,DC=Contoso,DC=COM? -desc ?Sales Rep Computer? -loc ?West Branch Office?
The idea was to add 20 computers to active directory using the DSADD command 10 to the west and 10 to the east.
Please help this is really annoying.
All i want is 1 script to work
Thanks jonno