Solved

PutEx - add\remove or just replace

Posted on 2010-09-17
1
989 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:evetsleep
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 71

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 33723363

Depending on the functional level of your forest (at least 2003), and the operational level of the group (not all groups have this enabled, depends when the group was created). But in theory, PutEx 3 / 4 should be far more efficient than replacing the entire list.

This is making a few assumptions about the efficiency of LVR (Linked Value Replication) when the majority of the contents do not change, but it's about the only aspect that's going to come into play here.

If your functional level is lower then the entire member attribute will replicate regardless of the number of changes. If LVR is in operation it should only replicate the change to the attribute (not the entire attribute).

HTH

Chris
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question