by Dios_007 at 2012-10-23 14:11:23
Hi allby DonJ at 2012-10-23 15:44:16
Im new to powershell and would like to know how I can update the description field of 50 global security groups they are all currently blank. I have a csv file with all the group names in column A and all the description in column B.
Assuming your CSV column headers are ‘groupname’ and ‘newdesc’by Dios_007 at 2012-10-24 04:07:40
Import-CSV whatever.csv | ForEach { Set-ADGroup -Identity $.groupname -Desc $.newdesc }
Should do it.
Thanks i will give it a try.by DonJ at 2012-10-24 07:25:46
Great! if it works, please come back and mark this as "solved," so it can help other folks in the future.