Jump to content

Add multiple user to AD group


Recommended Posts

Hi,

I need a script, which will add multiple user to an AD group in one shot. the script will first check for any user account already exist in the group. If it found any account, then it will exclude that account and add the remaining accounts. This will be better if the script read the user accounts from a file and add them to the group.

Thanks in advance for your help.

akb

Link to comment
Share on other sites

Hi,

I need a script, which will add multiple user to an AD group in one shot. the script will first check for any user account already exist in the group. If it found any account, then it will exclude that account and add the remaining accounts. This will be better if the script read the user accounts from a file and add them to the group.

Thanks in advance for your help.

akb

This should get you started...

Active Directory Scripts, Some useful functions for Active Directory.

-Mike

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...