Link to home
Start Free TrialLog in
Avatar of SAM IT
SAM IT

asked on

Can we able to input the security group -Identity DL-TB-US-test-Projects-XXXXXX-RW-TEST using CSV file

Can we able to input the security group -Identity DL-TB-US-test-Projects-XXXXXX-RW-TEST using CSV file. Thanks in advance

Import-module ActiveDirectory 
Import-CSV "C:\Users\a.narasimha.s\Desktop\Project folder creation\Adduserstogroup.csv" | % { 

Add-ADGroupMember -Identity DL-TB-US-test-Projects-XXXXXX-RW-TEST -Member $_.UserName 
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial