Admin Helper API and Scripts

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

 

The Admin Helper API provides the AdminIndexServer, CatAdm, and ScopeAdm objects for managing the tasks, catalogs, and scopes of Indexing Service. A script can use these objects, for example, to start, pause, or stop Indexing Service; set, get, or add a catalog; and set, get, or add a scope for a catalog.

The following table shows how to create in scripts an AdminIndexServer object, shows one way to create a CatAdm object, and shows one way to create a ScopeAdm object. For additional ways of creating CatAdm objects, see the methods of the AdminIndexServer object. For additional ways of creating ScopeAdm objects, see the methods of the CatAdm object.

Object Creation in VBScript Creation in JScript
AdminIndexServer Set objAdminIS = WScript.CreateObject("Microsoft.ISAdm") objAdminIS = new ActiveXObject("Microsoft.ISAdm");
CatAdm Set objCatAdm = objAdminIS.GetCatalog( ) objCatAdm = new objAdminIS.GetCatalog( );
ScopeAdm Set objScopeAdm = objCatAdm.GetScope( ) objScopeAdm = new objCatAdm.GetScope( );

 

The Ciodm.dll file contains the objects of the Admin Helper API.