Exchange 5.5 - modifying smtp addresses via VBscript
- From: gbisset@xxxxxxxxxxx
- Date: 30 May 2007 10:39:09 -0700
Hi,
I need to write a VBscript to enumerate all the users on an Exchange
5.5 machine and remove/change the smtp addresses for a number of them
(due to a domain name change amongst other things).
I have searched extensively to find any info but nothing to do this
for 5.5. I have found plenty for 2000/2K3 but of course since 5.5
does not use AD it is a little trickier.
I have seen MS's webpage (<http://www.microsoft.com/technet/archive/
exchangeserver55/reskit/exc12.mspx?mfr=true>)
but unfortunately I cannot get this to work (nor even simple LDAP
queries) as trying to use any LDAP always gives me the error "An
operations error has occured".
I have had some small success using MAPI.Session and GetAddressEntry
but this only gets for one user and I need to enumerate all users on
the box, plus, I don't see any way of changing the address and writing
it back.
I'd rather not do an export/fix/import if at all possible.
Thanks in advance for any info.
.
- Prev by Date: PR_SENDER_NAME format?
- Next by Date: script to add delegates to mailboxes
- Previous by thread: PR_SENDER_NAME format?
- Next by thread: script to add delegates to mailboxes
- Index(es):
Relevant Pages
|