SpaceObServer.SearchFilter.Properties.IncludeAttributes

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.IncludeAttributes

Description

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

 
Syntax

property IncludeAttributes: <String>;

 
Example

$SOS.Filter.IncludeAttributes = "RA" #PowerShell

SOS.Filter.IncludeAttributes = "RA" 'VBS

The directory tree and all exports (Except of the XML export) will include only files where the file attributes "Read Only" (R) and "Archive" (A) are 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.