SpaceObServer.SearchFilter.Properties.MaxSize

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.MaxSize

Description

Use this property to include only files with a maximum size.

 
Syntax

property MaxSize(SizeType : <Shortint>): <Integer>;

 
Example

PowerShell:

$SOS.SizeUnit = "MB"
$SOS.Filter.MaxSize("Allocated") = 50

VBS:

SOS.SizeUnit = "MB"
SOS.Filter.MaxSize("Allocated") = 50

Only files with a allocated space lower or equal 50 Mega Byte will be included in the file system tree and all exports (Except of the XML export).

 
Remarks

Permitted SizeType values are "Size" and "Allocated". Find a list of all info types at OLE Information Type
The size unit of the filter is defined by the property SizeUnit.
This filter can be combined with the MinSize filter to include only files with sizes in a certain interval.