a script to change user's properties

Batch, ASP, JScript, Kixtart, etc.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
Vakili
Posts: 2
Joined: Wed Dec 28, 2011 12:15 am

a script to change user's properties

Post by Vakili » Wed Dec 28, 2011 12:31 am

I want to change some attributes of existing users:
I want to change their passwords, and enable them.
user names and new passwords are stored in a CSV file.

How can i do that using a script?

thanks

User avatar
Vakili
Posts: 2
Joined: Wed Dec 28, 2011 12:15 am

a script to change user's properties

Post by Vakili » Wed Dec 28, 2011 12:31 am

I want to change some attributes of existing users:
I want to change their passwords, and enable them.
user names and new passwords are stored in a CSV file.

How can i do that using a script?

thanks

User avatar
jvierra
Posts: 13266
Joined: Tue May 22, 2007 9:57 am
Contact:

a script to change user's properties

Post by jvierra » Wed Dec 28, 2011 3:01 am

Type CSVDE /? and follow the instructions.

User avatar
jhicks
Posts: 1789
Joined: Sun Jan 21, 2007 11:31 pm

a script to change user's properties

Post by jhicks » Thu Dec 29, 2011 9:21 am

If you have to spend time learning how to do this, I respectfully suggest spend the time learning how to do this in something you can re-use and has more long term value. While you can use command line tools like CSVDE or even the DS* tools, this type of task is very common and pretty easy to accomplish using Windows PowerShell.

Locked