Link to home
Start Free TrialLog in
Avatar of Someone
Someone

asked on

tool to generate passwords for active directory users

hey IT fellows

so here is the deal, I want to create more than 1000 users in the active directory. And it's gonna be too difficult to set a unique password for each one of them.
so, is there a tool to generate a random passwords for users?

another thing, what the code that if I enter in the userAccountControl attribute, it make the user must change the password at first login?
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Someone
Someone

ASKER

Thank you sir for your cooperation
Avatar of Someone

ASKER

Sir,
I have a powershell script that I user to create users:

import-csv C:\temp\ADUsers.csv | 
foreach {New-ADUser -name $_.name -displayName $_.displayname 
-OtherAttributes @{'company'= $_.company;'department'= $_.Department;'pager'= $_.pager;'mobile'= $_.mobile;'UserPrincipalName'= (“{0}@{1}” -f $_.name,”test.net”)} 
-Enabled $true }

Open in new window



How could I possibly use your password cmdlet in my script?

can you help me in that please