Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Indexing  Service  Scopes  

 Content of List Indexing Service Scopes.vbs
MD5 Hash: 01AAD61415BD92450EFA3FE6BD8BA64F
' Description: Returns information about all the Indexing Service scopes found on the local computer.


On Error Resume Next

Set objAdminIS = CreateObject("Microsoft.ISAdm")
objCatalog = objAdminIS.FindFirstCatalog()
If (objCatalog) Then
Set objCatAdm = objAdminIS.GetCatalog()
Set objScopeAdm = objCatAdm.GetScope()
Wscript.Echo "Alias: " & objScopeAdm.Alias
Wscript.Echo "Exclude scope: " & objScopeAdm.ExcludeScope
Wscript.Echo "Logon: " & objScopeAdm.Logon
Wscript.Echo "Path: " & objScopeAdm.Path
Wscript.Echo "Virtual scope: " & objScopeAdm.VirtualScope
End If

Do
objCatalog = objAdminIS.FindNextCatalog()
If (objCatalog) Then
Set objCatAdm = objAdminIS.GetCatalog()
Set objScopeAdm = objCatAdm.GetScope()
Wscript.Echo "Alias: " & objScopeAdm.Alias
Wscript.Echo "Exclude scope: " & objScopeAdm.ExcludeScope
Wscript.Echo "Logon: " & objScopeAdm.Logon
Wscript.Echo "Path: " & objScopeAdm.Path
Wscript.Echo "Virtual scope: " & objScopeAdm.VirtualScope
Else
Exit Do
End If
Loop

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a