Enable Usage and Diagnostics Data
The following example enables usage and diagnostics data, creating the required scheduled task and task output target.
- Connect to the administration web service.
- If usage and diagnostics data is already enabled an exception will be thrown.
Code Sample
# Enable diagnostics and usage data.
$administration.DO_EnableUsageDiagnosticsData();