David, try recipe 6.2 from Robbie Allen's AD Cookbook. If you don't have the book, I 
highly recommend
it, but you can also find what you need at www.rallenhome.com

There are also some create user scripts at Clarence Washington's site at
http://cwashington.netreach.net


<mc>
-----Original Message-----
From: Chianese, David P. [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 12:28 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Scripting Help

Hello all, 

I hate re-inventing the wheel and know someone out there already has a script to do 
these tasks:

      1. import users via a bulk import from a csv and/or have an optional (switch) to 
create one user
at a time
        2. change password to "xxxxxxxx"
        3. set the password to expire (if not already set to expire)
        4. unset the "change password on next logon" bit (unchecked)
        5. make sure account is not disabled or locked out

If anyone has something like this, please forward it.  I am continuing my google 
search at this time.


Thanks in advance, 

Dave


Sign posted behind the bar:

Free Beer, Tomorrow.

This e-mail and any accompanying attachments are confidential. The information is 
intended solely for
the use of the individual to whom it is addressed.  Any review, disclosure, copying, 
distribution, or
use of this e-mail communication by others is strictly prohibited.  If you are not the 
intended
recipient, please notify us immediately by returning this message to the sender and 
delete all copies.
Thank you for your cooperation.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to