« Scripts from Chapter 2 | Main | Chapter 4 scripts »

June 16, 2005

Scripts from Chapter 3

Chapter 3, Active Directory Integration, describes how Exchange talks to and uses Active Directory. Scripts in this chapter include:

Or you can get 'em as a single bundle.

Posted by Paul at June 16, 2005 04:46 PM

Comments

I'm trying to use the script which deletes the DSAccessDC objects forcing Exchange to rediscover DC. The goal I want to achieve is to force Exchange to refresh itself with the changes made in AD for routing groups. I have couple of question about it and wonder if you can help me.

1. The obline version of the script is different than one in the book. Is the online version the correct one.

2. Why does scripts set the DSAccessDC object to manual configtype before deleting it? Can't it be deleted while the configtype is set to automatic.

3. Does this force DSAccess and other Exchange components (like Categorizer and SA page 52 of the book) for which it acts as intermediary, to purge it cache of AD data. This is essential for me to know because I want exchange to use new routing information from AD.

4. Should I expect TCP sockect connections to DC using port#s 389 and 3268 to reestablish?

Thanks.

Posted by: RD at April 17, 2006 11:36 AM

One more question.
--
' Get the list of Exchange_DSAccessDC instances and iterate through them
' to modify their properties; all instances of this Type will become manually
' configured.
Set listDCInst = objWMIExch.InstancesOf("Exchange_DSAccessDC")
For each objDCInst in listDCInst
objDCInst.Type = configType
objDCInst.Put_
Next
--
In the above code, shouldn't property of the objcet being set be "ConfigurationType" instead of "Type".

Thanks.

Posted by: RD at April 17, 2006 12:20 PM

Post a comment

sign out)'); } else { echo('If you have a TypeKey identity, you can sign in to use it here.'); } ?>




Remember Me?

(you may use HTML tags for style)