|
Home > Archive > microsoft.public.exchange2000.admin > October 2002 > how to batch add/del users using adclean.exe
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to batch add/del users using adclean.exe
|
|
|
| hi all,
how do you batch add/del users in exch2K?
i read that you can use adclean.exe and import a csv file.
but i cant seem to find a spec on the parameters for the
fields of an ASDI csv file.
the old 5.5 Exch import file was pretty obvious defined
and well documented.
thanks in advance.
Nancy
| |
| David Sengupta [MVP] 2002-10-05, 8:20 pm |
| read up on LDIFDE (and possibly CSVDE depending on what operations you wish
to do)
--
David Sengupta M.T.S., B.Sc., MVP, MCSE, MCSE 2000, CCA Ottawa, Canada
Exchange Diagnostics: Quest Spotlight on Exchange
http://www.quest.com/spotlight_exchange
Exchange Management: http://www.microsoft.com/mom
Exchange FAQ - http://www.swinc.com/resource/exch_faq.htm
"nancy" <ndo@minervanetworks.com> wrote in message
news:d4b201c2556f$f9b1b8e0$a5e
62ecf@tkmsftngxa07...
> hi all,
>
> how do you batch add/del users in exch2K?
>
> i read that you can use adclean.exe and import a csv file.
> but i cant seem to find a spec on the parameters for the
> fields of an ASDI csv file.
>
> the old 5.5 Exch import file was pretty obvious defined
> and well documented.
>
> thanks in advance.
>
> Nancy
>
>
>
| |
|
| Thanks david, but csvde doesnt seem to work.
i do an export of my current user list
D:\>csvde -f output.csv
Connecting to "(null)"
Logging in as current user using SSPI
Exporting directory to file out.csv
Searching for entries...
Writing out entries.....
Export Completed. Post-processing in progress...
141 entries exported
The command has completed successfully
i edit the output.csv file to leave one line of a user.
i manually delete the user using the Active Directory GUI
tool.
then i try to import the user that was left.
D:\>csvde -v -i -f output.csv
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "output.csv"
Error reading attribute list
0 entries modified successfully.
An error has occurred in the program
BTW, i still cant seem to find any documentation on what
exactly the CSV file format should be. Which is why im
resorting to this trial and error export/import trick.
Any hint would be greatly appreaciated.
nancy
>-----Original Message-----
>read up on LDIFDE (and possibly CSVDE depending on what
operations you wish
>to do)
>
>--
>David Sengupta M.T.S., B.Sc., MVP, MCSE, MCSE 2000, CCA
Ottawa, Canada
>Exchange Diagnostics: Quest Spotlight on Exchange
>http://www.quest.com/spotlight_exchange
>Exchange Management: http://www.microsoft.com/mom
>Exchange FAQ - http://www.swinc.com/resource/exch_faq.htm
>
>
>"nancy" <ndo@minervanetworks.com> wrote in message
> news:d4b201c2556f$f9b1b8e0$a5e
62ecf@tkmsftngxa07...
>> hi all,
>>
>> how do you batch add/del users in exch2K?
>>
>> i read that you can use adclean.exe and import a csv
file.
>> but i cant seem to find a spec on the parameters for the
>> fields of an ASDI csv file.
>>
>> the old 5.5 Exch import file was pretty obvious defined
>> and well documented.
>>
>> thanks in advance.
>>
>> Nancy
>>
>>
>>
>
>
>.
>
| |
| Rich Matheisen [MVP] 2002-10-05, 8:21 pm |
| "nancy" <ndo@minervanetworks.com> wrote:
>Thanks david, but csvde doesnt seem to work.
[ snip ]
>then i try to import the user that was left.
CSVDE cannot modify an object.
[ snip ]
>BTW, i still cant seem to find any documentation on what
>exactly the CSV file format should be. Which is why im
>resorting to this trial and error export/import trick.
>
>Any hint would be greatly appreaciated.
Use LDIFDE and LDIF format to make those modifications. As much as it
hurts to say this, the CSV format is as good as dead when it comes to
the AD.
--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
| |
| David Sengupta [MVP] 2002-10-05, 8:21 pm |
| As Rich pointed out and as I said in my initial reply CSVDE doesn't have all
the functionality that's in LDIFDE (unfortunately). Use LDIFDE.
--
David Sengupta M.T.S., MVP, MCSE, MCSE 2000, CCA Ottawa, Canada
Exchange Diagnostics - Quest Spotlight on Exchange -
http://www.quest.com/spotlight_exchange/
Exchange Message Tracking - MessageStats -
http://www.quest.com/messagestats/
Exchange Management - Microsoft Operations Manager -
http://www.microsoft.com/mom/
Exchange FAQ - http://www.swinc.com/resource/exch_faq.htm
"nancy" <ndo@minervanetworks.com> wrote in message
news:da7f01c25758$fdcf1220$35e
f2ecf@TKMSFTNGXA11...
> Thanks david, but csvde doesnt seem to work.
>
> i do an export of my current user list
>
> D:\>csvde -f output.csv
> Connecting to "(null)"
> Logging in as current user using SSPI
> Exporting directory to file out.csv
> Searching for entries...
> Writing out entries.....
> Export Completed. Post-processing in progress...
> 141 entries exported
> The command has completed successfully
>
> i edit the output.csv file to leave one line of a user.
> i manually delete the user using the Active Directory GUI
> tool.
>
> then i try to import the user that was left.
>
> D:\>csvde -v -i -f output.csv
> Connecting to "(null)"
> Logging in as current user using SSPI
> Importing directory from file "output.csv"
> Error reading attribute list
> 0 entries modified successfully.
> An error has occurred in the program
>
> BTW, i still cant seem to find any documentation on what
> exactly the CSV file format should be. Which is why im
> resorting to this trial and error export/import trick.
>
> Any hint would be greatly appreaciated.
>
> nancy
>
> >-----Original Message-----
> >read up on LDIFDE (and possibly CSVDE depending on what
> operations you wish
> >to do)
> >
> >--
> >David Sengupta M.T.S., B.Sc., MVP, MCSE, MCSE 2000, CCA
> Ottawa, Canada
> >Exchange Diagnostics: Quest Spotlight on Exchange
> >http://www.quest.com/spotlight_exchange
> >Exchange Management: http://www.microsoft.com/mom
> >Exchange FAQ - http://www.swinc.com/resource/exch_faq.htm
> >
> >
> >"nancy" <ndo@minervanetworks.com> wrote in message
> > news:d4b201c2556f$f9b1b8e0$a5e
62ecf@tkmsftngxa07...
> >> hi all,
> >>
> >> how do you batch add/del users in exch2K?
> >>
> >> i read that you can use adclean.exe and import a csv
> file.
> >> but i cant seem to find a spec on the parameters for the
> >> fields of an ASDI csv file.
> >>
> >> the old 5.5 Exch import file was pretty obvious defined
> >> and well documented.
> >>
> >> thanks in advance.
> >>
> >> Nancy
> >>
> >>
> >>
> >
> >
> >.
> >
|
|
|
|
|