If read you correctly you already have a script that pulls from a csv.  You could just add a new column to the csv and pre-populate that with randomly generated passwords in your favourite spreadsheet program, then modify your script to pull that in as well.  Lots of random password formulas for spreadsheets on the web.

gt

---------- Original Message ----------
From: Christopher Baio <[email protected]>
Date: June 28, 2016 at 10:35 AM

I have a powershell script to create user accounts in a specific OU that will pull from a .csv.  That script sets variables for the user, one of them being a password that you specify in the script.  What I need to do is use a script to create the 300 users, but have a different password for each user. 

We have a naming convention for the password; just trying to figure out the best way to do this.  Any suggestions?

Thanks

- Chris


 

Reply via email to