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

Powershell

Avatar of undefined
Last Comment
Chris Dent

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Chris Dent

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23