Scheduler Status
The following example displays the status of the scheduler service.
- Connect to the administration web service.
# Get the current scheduler status.
$status = $administration.GET_SchedulerStatus();
if ($status.IsExecuting -eq $false)
{
Write-Host "The scheduler is not currently executing.";
return;
}
# Display the status.
Write-Host "Scheduler Status";
Write-Host "------------------------------";
Write-Host "Last Updated: $($status.LastUpdated)";
Write-Host "Summary: $($status.Summary)";