Add domain users to an local group on a remote pc

A simple script, but very handy!I made this just because it's easy to use, I guess more people like to do most things remotely.Any comments or questions are welcome!PS. Fill in your own domain!You can edit the script to automatically choose a local group and remove the "read host

2,384 times
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Using this script in c#
    1 Posts | Last post February 13, 2015
    • I am trying to use this script in c#
      What are the arguments needed to be passed to this script?
      What is PC number?
  • how can i use $USER and $objUSER for multiple input?
    2 Posts | Last post April 24, 2013
    • For Example, I want to add user A,B,C at the same time by using the script.
      Please update me by my email id
    • Hi There,
      You can change the line:
      $user = Read-Host "enter domain user id"
      to $user = "c:\user.txt"
      And then you can put the users you want to add in the text file.
      Is this a solution for you?