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 an allocated space lower or equal 50 Mega Byte will be included in the file system tree and all exports.

Remarks

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