Sorry that might be a little bit brief so a little explanation.
Save that command to a file and rename it to a bat file. Basically once you create your OU and populate your users into it. You would need to make a plain text file with their username (samid) and the desired password. It has to be in the format of
user1!pass1
user2!pass2
user3!pass3
Make sure there isnt a trailing carriage return in the file. Save the file as file.txt as that is refferenced in the command and then execute the bat file. Once the file is executed it will loop through the file.txt and perform a lookup of the username and then modify it with the password you provided.
Hope this explains a little better.
Main Topics
Browse All Topics





by: xxdcmastPosted on 2009-07-01 at 12:10:58ID: 24757193
Well you could do something like this.
This will need a file with the username!password on each line. I used the exclamation point as a delemiter.
Select allOpen in new window