Methodes

Filter methods

Clear

Description

Clears all former activated filter settings.

Syntax

Clear

Example

PowerShell:

$SOS.SizeUnit = "MB"
$SOS.Filter.FolderMinSize = 100
$SOS.Print($True, $True, $True)
$SOS.Filter.Clear
$SOS.PDFExport("C:\Temp\SOS\full_export.pdf", $True, $True, $True)

VBS:

SOS.SizeUnit = "MB"
SOS.Filter.FolderMinSize = 100
SOS.Print True, True, True
SOS.Filter.Clear
SOS.PDFExport "C:\Temp\SOS\full_export.pdf", True, True, True

Prints a report of the selected directory branch including only subdirectories with a minimum size of 100 Mega Byte. After the printing, the filter is cleared again, so the pdf export will include all sub directories.