Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Specific Files Included in the Indexing ServiceContent of List Specific Files Included in the Indexing Service.vbsMD5 Hash: 3E97D5FEF82343FCEB90FF11CC2742FA |
||
' Description: Returns a list of all the files included in the Indexing Service catalog named Script Catalog.
On Error Resume Next Set objConnection = CreateObject("ADODB.Connection") objConnection.ConnectionString = "provider=msidxs;" objConnection.Properties("Data Source") = "Script Catalog" objConnection.Open Set objCommand = CreateObject("ADODB.Command") strQuery = "Select Filename from Scope()" Set objRecordSet = objConnection.Execute(strQuery) Do While Not objRecordSet.EOF Wscript.Echo objRecordSet("Filename") objRecordSet.MoveNext Loop | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |