Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create an Indexing Service ScopeContent of Create an Indexing Service Scope.vbsMD5 Hash: 18F69FAF49F8EE54EDF086315B45EFE7 |
||
' Description: Adds a scope named Script Scope (with the path C:\Scripts) to an Indexing Service catalog named Script Catalog on the local computer.
On Error Resume Next Set objAdminIS = CreateObject("Microsoft.ISAdm") Set objCatalog = objAdminIS.GetCatalogByName("Script Catalog") Set objScope = objCatalog.AddScope("c:\scripts\Indexing Server", False) objScope.Alias = "Script scope" objScope.Path = "c:\scripts" | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |