The following example updates an existing report execution scheduled task.




Code Sample

# Updates the scheduled report execution task with the specified identifier.

$task = $administration.GET_ScheduledTask("22176cac-8f38-49ea-aca4-6a579d333853");

$task.DisplayName = "Updated Report Execution Scheduled Task";

$administration.SET_ScheduledReportExecutionTask($task);