akb0109 Posted May 28, 2009 Share Posted May 28, 2009 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 More sharing options...
oMBRa Posted May 28, 2009 Share Posted May 28, 2009 www.rentacoder.com Link to comment Share on other sites More sharing options...
mdwerne Posted May 28, 2009 Share Posted May 28, 2009 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. akbThis should get you started... Active Directory Scripts, Some useful functions for Active Directory. -Mike Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now