The following example enables usage and diagnostics data, creating the required scheduled task and task output target.




Code Sample

# Enable diagnostics and usage data.

$administration.DO_EnableUsageDiagnosticsData();