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
Post a Comment