VBScript: hide mailbox in Exchange 5.5

VBScript: hide mailbox in Exchange 5.5

Door: Arnout van der Vorst

Same as all scripts working with Exchange 5.5, download and install the AcctCrt COM components from Microsoft. Only issue with this script is that it’s not easy to reverse the operation. Once the mailbox is hidden, it is also hidden from LDAP queries. The only way to get it back is to do a special LDAP login (using clear-text password, so you really don’t want to do that).

strExchangeServer = wscript.arguments(0)
strMailboxLDAP = wscript.arguments(1)
strMailboxLDAP = "LDAP://" & strExchangeServer & "/" & strMailboxLDAP

Set objAcctMgmt = CreateObject(“MSExchange.AcctMgmt”)
Set objMailbox = GetObject(strMailboxLDAP)

objMailbox.Put “Hide-From-Address-Book”,True
objMailbox.SetInfo

Geschreven door:
Arnout van der Vorst

Arnout van der Vorst is Identity Management Architect bij Tools4ever en al ruim 10 jaar in dienst. Arnout legt zich als Architect toe op het bedenken en ontwikkelen van nieuwe features, oplossingen en diensten van Tools4ever die aansluiten op de vraag uit de markt. Arnout studeerde Hogere Informatica aan de Hogeschool van Utrecht.

Anderen bekeken ook

De vooroordelen van Single Sign On

De vooroordelen van Single Sign On

29 november 2011

RBAC: sleutelrol, beheer en evolutie

RBAC: sleutelrol, beheer en evolutie

15 maart 2011

User- en toegangsbeheer in cloud applicaties: een uitdaging

User- en toegangsbeheer in cloud applicaties: een uitdaging

04 september 2012

Single Sign On met terminal emulatie (VAX64, AS/400, Linux, SSH)

Single Sign On met terminal emulatie (VAX64, AS/400, Linux, SSH)

14 oktober 2010

SAP koppeling met Active Directory

SAP koppeling met Active Directory

06 september 2012