Use the OLE Interface to Automate Processes

The OLE interface (short for Object Linking and Embedding) of the SpaceObServer Enterprise Edition enables you to export scans, lists (e.g. 100 largest files, file types or user statistics), or graphical visualizations (e.g. piecharts or treemaps) automatically. You can also use it to change scan settings and force scans.

And this is what makes SpaceObServer special: you can access SpaceObServer functions from your own programs or scripts (e.g. VBScript).


  'Declare variables
Path = InputBox("Enter the directory to export",Wscript.ScriptName,"C:\")
If Path<>"" Then
  'Initialize variables
Set SOS = CreateObject("SpaceObServer.Application")
SOS.ROOTDirectory = Path
  'Customize the visible columns of the lists to export
SOS.ListColumnVisible ("extensionslist", "SizeChange") = True
 SOS.ListColumnVisible ("userslist", "SizeChange") = True
  'Export lists
SOS.ListExport "C:\Reports\extensions.csv", "extensionslist", True, False
SOS.ListExport "C:\Reports\user.csv", "userslist", True, False
End If


With the OLE interface you are much more flexible than with command line parameters. This way you can, for example, directly query exact values from individual directories and use them in your programs or scripts.

You will find detailed information regarding all available OLE functions and configuration options in our manual.

OLE automation is too complex for your taste? Simply use command line parameters. Pass them to the included program "SpaceObServerCmdLineParser" and receive the desired exports. Our manual contains more valuable information on command line parameters.