SpaceObServer.SearchFilter.Properties.ExcludePattern

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.ExcludePattern

Description

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

 
Syntax

property ExcludePattern: <String>;

 
Example

$SOS.Filter.ExcludePattern = "Temp*" #PowerShell

SOS.Filter.ExcludePattern = "Temp*" 'VBS

The directory tree and all exports (Except of the XML export) will exclude all files staring with "Temp".

 
Remarks

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