From d91c4ffb91144254d6a8eb8b509abe51163eee77 Mon Sep 17 00:00:00 2001 From: John Duprey Date: Fri, 10 Jan 2025 00:36:22 -0500 Subject: [PATCH] Update Get-CIPPTimerFunctions.ps1 --- Modules/CIPPCore/Public/Get-CIPPTimerFunctions.ps1 | 3 --- 1 file changed, 3 deletions(-) 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) {