The ESHMTS Script

The ESHMTS Script

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

ESHMTS.vbs can be used to create a COM+ application (previously called an MTS package) named "Exoledb Script Handler" for The Script Host Sink.

Note  Registering the Script Host Sink and wrapping it in a COM+ application will allow any user to register and run a script-based event sink in any folder to which the user has write access.

ESHMTS.vbs can also be used to delete an existing COM+ application named "Exoledb Script Handler". ESHMTS.vbs is installed with the Exchange Server 2003 Software Development Kit (SDK) in the \Program Files\Exchange SDK\SDK\Support\OLEDB\Scripts directory.

Note  In order to add a COM+ application to handle The Script Host Sink, The Script Host Sink must first be registered on the server.

Adding

The following command uses ESHMTS.vbs to create a COM+ application for The Script Host Sink named "Exoledb Script Handler". The COM+ application will be run under the security context of the user account specified by the user name and password.

cscript eshmts.vbs install Domain\UserName Password

Removing

The following command uses ESHMTS.vbs to uninstall an existing COM+ application named "Exoledb Script Handler".

cscript eshmts.vbs uninstall

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.