diff --git a/Modules/CIPPCore/Public/Get-CIPPTimerFunctions.ps1 b/Modules/CIPPCore/Public/Get-CIPPTimerFunctions.ps1 index 997a7f213380..3636983235f9 100644 --- a/Modules/CIPPCore/Public/Get-CIPPTimerFunctions.ps1 +++ b/Modules/CIPPCore/Public/Get-CIPPTimerFunctions.ps1 @@ -52,13 +52,10 @@ function Get-CIPPTimerFunctions { $OrchestratorStatus = Get-CIPPAzDataTableEntity @Table -Filter "RunOnProcessor eq $RunOnProcessorTxt" } - Write-Host ($OrchestratorStatus | ConvertTo-Json) - $OrchestratorStatus | Where-Object { $_.RowKey -notmatch '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$' } | Select-Object ETag, PartitionKey, RowKey | ForEach-Object { Remove-AzDataTableEntity @Table -Entity $_ -Force } - foreach ($Orchestrator in $Orchestrators) { $Status = $OrchestratorStatus | Where-Object { $_.RowKey -eq $Orchestrator.Id } if ($Status.Cron) {