Login | |
|
 |
Modify Expansion Server for large amount of Distributio... - 6/19/2008 8:52:02 PM
|
|
 |
|
| |
reda01
Posts: 9
Score: 0
Joined: 5/8/2008
Status: offline
|
Hello, I need to modify the expansion server attribute on 900 distribution lists, Exchange server 2003 SP2. I am trying to change the option msExchExpansionServerName to " Any server in the organization" instead of server which has been removed from our AD. When I execute this VB script : == Set objOU = GetObject("LDAP://OU=NameOfDL,OU=OU1,OU=OU2,OU=SITE,DC=DC1,DC=CONTOSO,DC=COM") For Each objGroup In objOU ' Filter the Domain Object/Collection to modify groups only If objGroup.Class = "group" then objGroup.msExchExpansionServerName = "/O=***/OU=***/CN=Configuration/cn=Servers/cn=Any server in the organization" objGroup.SetInfo wscript.Echo objGroup.msExchExpansionServerName End If Next set objOU = Nothing wscript.Echo "All Done" === This script runs successfully, but it didn't modify anything, the Distribution groups still point to the removed server. The option Expansion Server must be set to " Any server in the organization ". I made many researches how to set this option Expansion server to " Any server in the organization "l, wihtout success. Any ideas why the vb script doesn't modify the option ? Thank you, Reda
|
|
| |
|
|
|
 |
RE: Modify Expansion Server for large amount of Distrib... - 6/21/2008 5:18:52 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
If you hit the Any key, you will find the answer.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Modify Expansion Server for large amount of Distrib... - 6/23/2008 3:04:52 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Isn't that key one of those that use the default value only when there is nothing entered in the key?
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Modify Expansion Server for large amount of Distrib... - 6/24/2008 5:25:21 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Try modifying the HomeMTA value at the same time as the msExchExpansionServerName value. These two values are linked, apparently.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
|
|