IncludeDate

Description Set this property to “True” to append the current date to the name of the exported files.

Syntax

property IncludeDate: <Boolean>;

Example PowerShell:

$SOS.RootDirectory = "C:\"
$SOS.IncludeDate = $True
$SOS.PDFExport("C:\SpaceObServer_Reports\C_Report.pdf")

VBS:

SOS.RootDirectory = "C:\"
SOS.IncludeDate = True
SOS.PDFExport "C:\SpaceObServer_Reports\C_Report.pdf"

When this is executed on the 31. December 2009 at 8:30 a.m., the scanned directory “C:" will be exported to an PDF report with the name “Report_09-12-31_0830.pdf”.