Create a user on remote server by verifying a list of passwords in a text file


Viewing 2 reply threads
  • Author
    • #1378554
      Member Points: 692
      Rank: 2

      How to create a user on a remote machine by verifying the list of passwords in a text file ?

      The script validates the username and password of the remote server, logs in with those credentials and creates user on that account.

    • #1378579
      Michael Pietroforte
      Member Points: 35,693
      Author of the year 2018
      Rank: 4

      I am unsure if I understand what you want to do. What do you mean by verifying a list of passwords and validating usernames and passwords? You want to iterate through a list of credentials and see if you can login with them on a remote machine? Sounds like a hacker project.

    • #1378583
      Leos Marek
      Member Points: 23,515
      Author of Year 2020Author of the Year 2021
      Rank: 4

      By default, Powershell supports only Kerberos authentication. That means if you want to do anything on a remote machine, you have to run the script under domain account that already has privileges on the remote server.

      Do you mean to have a table containing: server name/user name/password? And for each server create that local account with specified password?

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
© 4sysops 2006 - 2022


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account