SpaceObServer.SearchFilter.Properties.ExcludeAttributes

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.ExcludeAttributes

Description

Use this property to exclude files with certain file attribute(s).

 
Syntax

property ExcludeAttributes: <String>;

 
Example

$SOS.Filter.ExcludeAttributes = "S" #PowerShell

SOS.Filter.ExcludeAttributes = "S" 'VBS

The directory tree and all exports (Except of the XML export) will exclude all files where the file attributes "System" (S) is set.

 
Remarks

Permitted values are "R" (Read only), "H" (Hidden), "S" (System), "A" (Archive), "C" (Compressed), "T" (Temporary), "O" (Offline) and "Z" (Alternate Data Stream).
Multiple file attributes are simply concatenated, without any separators.