Powershell script to Create user and add it to Administrators group

Viewing 1 reply thread
  • Author
    Posts
    • #1370930
      Mark
      Participant
      Member Points: 692
      Rank: 2

      Hello,

      Could anyone please help with the powershell script to create a user and add it to Administrators group on Windows 2016 and 2019 servers.

      Thanks.

       

    • #1373265
      Michael Pietroforte
      Keymaster
      Member Points: 33,394
      Author of the year 2018
      Rank: 4
      • #1373430
        Mark
        Participant
        Member Points: 692
        Rank: 2

        @michael – I am not trying to add an AD user. I am trying to create new user and add the user to the Administrators group.

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

CONTACT US

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

Sending

Log in with your credentials

or    

Forgot your details?

Create Account