bulk change password with csv file

Comments

5 comments

  • Avatar
    David Mcbride

    Anyone?

    0
    Comment actions Permalink
  • Avatar
    Matt Wade

    In the past when I have done this I copied my excel info into notepad. Then I changed the notepad ext to .bat and it ran all the bulk updates fine

    0
    Comment actions Permalink
  • Avatar
    Dasia Paucek
    ForEach($user in (Import-CSV 'c:\my.csv'))
    {
        Set-ADAccountPassword -Identity $user.identity -NewPassword (ConvertTo-SecureString -String $user.password -AsPlainText -Force)
        # Where identity is a column in the csv that holds a valid identity like the sam account name
        # and where password is the column header in the csv with their plain text password.
    }

    You can do something like that.

     

    Cupcake 2048

    0
    Comment actions Permalink
  • Avatar
    David Mcbride

    Thanks for the post but this is for users in icewarp not Active Directory. The project is over.

    Thanks

    0
    Comment actions Permalink
  • Avatar
    ward samuel

    use the bulk update tool to reset the password for multiple users. The bulk update tool comes with a CSV template that allows you to bulk update user account properties. In addition to resetting passwords, you can update users’ display name, email addresses, company, department, address, and more.

    website

    0
    Comment actions Permalink

Please sign in to leave a comment.