SpaceObServer.Application.ExpandToSize

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.ExpandToSize

Description

Expands all sub directories of the current root directory with a total size higher than the passed size value in MB.
 

Syntax

ExpandToSize (ExpandSize : <Integer>)
 

Parameters

ExpandSize

The size in MB to which directories should be expanded.

 
Example

$SOS.ExpandToSize("10") #PowerShell

SOS.ExpandToSize 10 'VBS

Expands all sub directories of the current root directory where the real size is bigger than 10 MB.

 
Remarks

All exports of the directory tree, except of the XMLExport, will consider only expanded directories when using False as ExportFullBranch parameter.