It's not VBS but why not use Exchange System Manager?

Create a Recipient Policy (Recipients->Recipient Policies) restricted to the
effected OU(s) and you can then specify their SMTP mail address.

If your users have had "don't update based on recipient policy" ticked then
you'd out of luck with this one, unless you untick it.

http://www.swynk.com/friends/mbell/Exch2000-7-1.asp
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q319201

Could be easier than starting with a script unless you need to do it
programatically for some reason.
There are ways to alter the mail address created by default by the Recipient
Policy but I lost the link to the Q article that describes it.

All the best,

Andy





----- Original Message -----
From: "mfouts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 15, 2002 5:07 PM
Subject: [ActiveDir] Scripting using VBS


First off I'm running Windows 2000 Active Directory with Exchange 2000

I'm trying to change the Primary SMTP address for about 1000 users
within a OU. Does anyone have any experience or recommendations for
scripting this using VBS? Also, does anyone know of a good property
reference page on the web which outlines all the property names within a
user.

Thanks

Michael Fouts

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to