SpaceObServer.SearchFilter.Properties.IncludePattern

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.IncludePattern

Description

Use this property to include only files with name matching at least one of the defined pattern(s).

 
Syntax

property IncludePattern: <String>;

 
Example

$SOS.Filter.IncludePattern = "*.exe;*.bat" #PowerShell

SOS.Filter.IncludePattern = "*.exe;*.bat" 'VBS

The directory tree and all exports (Except of the XML export) will include only files with the extensions ".exe" or ".bat".

 
Remarks

The wildcards "*" (any char) and "?" (any one single char) may be used in the patterns.
Multiple file name patterns are separated by ";".