Good Morning/Day/Evening World,
I am new to Powershell and think I can get halfway there, but would appreciate some help please? Basically I want to rename a bunch of groups and edit their description in a staggered approach. I.e. I may need to rrename 10 one time, 2 the next, then 50 the next time..etc.
I am trying to export a list of all AD group names beginning with a certain term. For example sake ZZZZ.
When I have this csv/list I must then run a further command or extension of above in a script that will rename the groups to something a little different. At the same time amend the description field.
I think I may be able to work out the group name export easily enough, but I have no idea over the renaming of group name and description for 1000 groups. I am not sure how I can line up existing name with the new name and description (on a CSV?) or whether I have to have a command line per rename? This may be good, then I can batch them up and do a find and replace.
Appreciate any idea's or examples I can start working on please?
Many Thanks