Platform SDK: Exchange 2000 Server

Deleting Store and System Event Bindings

[This is preliminary documentation and subject to change.]

You can use the RegEvent.vbs script to delete event bindings for store and system events. The following script options are used:

cscript RegEvent.vbs Delete 
                             Scope 
                             [All] 
Scope
The URL indicating a folder or item in the Exchange Store. If an item, then this is the event to be deleted. If this is a folder, then the "all" option is expected.
All
Delete all items in the specified folder.

Remarks

Regevent does not provide a means of recursively deleting events in child folders.

Example

'delete an item via its URL
cscript RegEvent.vbs delete file://./backofficestorage/exchange.microsoft.com/mbx/user1/inbox/evtreg1

'delete all items in a folder via the folder's URL
cscript RegEvent.vbs delete file://./backofficestorage/exchange.microsoft.com/mbx/user1/inbox all