PutEx - add\remove or just replace
Posted on 2010-09-17
I'm writing some scripts that will update some distribution groups. In these scripts I'm generating an array that has all the DN's of the correct list of members and then comparing that with the current membership of the group. Some of these groups are VERY large, as in well over 1,500 members. The goal being to make the group membership match the 'correct' list that I generate originally.
My question is with PutEx and the efficiency from an Active Directory perspective with regards to using the add\remove operations of PutEx (3 and 4) vs. just replacing the entire membership (2).
Is there such a big different in efficiency (and perhaps replication) if I'm editing large lists where I should use the add\remove operations vs. just using replace?