Powershell script to Create user and add it to Administrators group

Share
Viewing 1 reply thread
  • Author
    Posts
    • #1370930
      Nick
      Participant
      Post count: 7
      Member Points: 592
      Rank: Level 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.

       

      0
    • #1373265
      Michael Pietroforte
      Keymaster
      Post count: 1857
      Member Points: 23,809
      Author of the year 2018
      Rank: Level 4
      • #1373430
        Nick
        Participant
        Post count: 7
        Member Points: 592
        Rank: Level 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.

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

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