<< Click to Display Table of Contents >> Navigation: OLE Automation > Application > Properties > SpaceObServer.Application.Properties.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.XMLExport("C:\SpaceObServer_Reports\C_Report.xml")
VBS:
SOS.RootDirectory = "C:\"
SOS.IncludeDate = True
SOS.XMLExport "C:\SpaceObServer_Reports\C_Report.xml"
When this is executed on the 31. December 2009 at 8:30 a.m., the scanned directory "C:\" will be exported to an XML report named "Report_09-12-31_8030.xml".