Using PowerShell to Modify group membership from excel sheet


hi all,

i hope well, yesterday received excelsheet hr modify membership of specific group found in ad. there ps script fetch these names file and modify group ?

many in advnce

br

tariq

here example script gallery adding users group, reading user names csv file:

http://gallery.technet.microsoft.com/ffff189d-8ef1-4903-b19c-12dcd352c88e

an excel spreadsheet can saved csv file. before answering question in further detail, need know in spreadsheet. 1 spreadsheet list new members 1 specified group? or, spreadsheet specify groups in 1 column and members in another? or, members for each group listed in many fields? also, user names distinguished names or pre-windows 2000 logon names? and, identifying groups distinguished name or "pre-windows 2000" name? in both cases, cannot identified common name (the value of cn attribute).

 


richard mueller - mvp directory services


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2