Add Active Directory Multiple Users in a Group

Add multiple User’s to a Group – PowerShell Script

Import-module ActiveDirectory
Import-CSV "C:\Scripts\GroupUsers.csv" | % { Add-ADGroupMember -Identity TestGroup1 -Member $_.UserName }

Don’t forget to create a GroupUsers.csv file with users login names.

%d bloggers like this: