
This can help you build the CSV file if you don’t already have a list of usernames. This makes it easy to export all domain users, users from a group, or organizational unit. Tip: Included with this tool is the “User Export tool”. Group = the group name to add the user to. Username = logon name of the users you want to add to a group Step 1: Open the “Bulk Group Management” ToolĬlick on “Get CSV Template” and save the template. I’m going to add 300+ users to the HR_Local security group. Example 3: Bulk Add Users to a Single GroupĪdding one or two users into a group is very easy with PowerShell or ADUC but what about when you need to add a large list of users? ADUC has very limited options for bulk-adding users and PowerShell can be complicated for simple tasks like this. That is why I created the Bulk Group Management GUI tool. You can confirm this by seeing the group listed in the members of tab for the user account. It found three groups that have accounting in the name, I select the one I want and click ok. I typed accounting and when I click check names it gives me a list of all the matching groups. You can type the full group name out or if you don’t remember it just type a partial name and click check names. Open ADUC, open the user account and click on the “member of” tab. In this example, I will use the Active Directory Users and Computers GUI console to add a user to a security group.įor this example, I will add user Alice Mills to the Accounting_folders security group. Example 2: Add User to a Group Using Active Directory Users and Computers If you don’t like PowerShell then check out example 2. Yes, the command worked and the user was added to the IT_Local AD group. Get-ADPrincipalGroupMembership -Identity Alma.Martin You can verify the user was added by using the ADPrincipalGroupMembership cmdlet. Identity is the group and -members are the users you want to add to the group. Here is the command: Add-ADGroupMember -Identity IT_Local -Members Alma.Martin Both the user and the group will be identified by their sAMAccountName. In this example, I’m going to add a user Alma Martin to the AD security group IT_Local. You can use the cmdlet Add-ADGroupMember to add users to an Active Directory group. I will provide you with examples of adding a single user and multiple users to groups.Įxample 1: Add a Single User to a Group using PowerShellĮxample 2: Add User to a Group Using Active Directory Users and ComputersĮxample 3: Bulk Add Users to a Single GroupĮxample 4: Add Users to Multiple Security Groups Example 1: Add a Single User to a Group Using PowerShell In this guide, I will show you how to add users to Active Directory security groups using PowerShell, ADUC, and by using the Bulk Group Management Tool.
