Oldcomp really isn't the tool to do this. This is more an admod/dsmod type
thing. You're going to need the DN for any of the command line tools. What
do you have? The samname?

If you post your script and a sample of the csv here, I'm willing to look at
it...Have you considered trying to figure it out yourself in an attempt to
learn some vbscript, though? There are hundreds if not thousands of common
task samples on the technet scriptcenter that even someone who doesn't know
vbscript enough to write stuff from scratch can usually piece together. 

Thanks,
Brian Desmond
[EMAIL PROTECTED]
 
c - 312.731.3132
 
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom
Sent: Wednesday, September 21, 2005 2:19 PM
To: [email protected]
Subject: [ActiveDir] disabling users

I'd like to script disabling users from a csv file. I think Joe's Oldcmp can
disable users but i'd like to feed the users from a csv file since they are
all over my AD.
Also, as a backup, i'd like a simillar script to enable users from a csv
file.
 
Robbie Allen's AD Cookbook has a simillar script but you have to specify the
dn of the user in the script. If someone can help me modify the script(perl
or vb) to use a file instead that would be great.
thanks
[EMAIL PROTECTED]       Vry&-4ibb

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to