Delete an Indexing Service Catalog

Removes an Indexing Service catalog named Script Catalog from the local computer.

VBScript Code


On Error Resume Next

Set objAdminIS = CreateObject("Microsoft.ISAdm")
objAdminIS.Stop()
errResult = objAdminIS.RemoveCatalog("Script Catalog", True)
objAdminIS.Start()