From 7a2fe9b1c18830c69c59d75d9367a181177d7e3f Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Thu, 19 Jun 2025 18:49:21 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-19T18:49:21Z --- foam_sync.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index 06cd4d5..eece326 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -49,6 +49,7 @@ try { Write-Host "Checking trigger..." $triggerMatches = $false if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] ` + -and $null -ne $currentTrigger.RepetitionInterval ` -and $currentTrigger.RepetitionInterval.TotalMinutes -eq $trigger.RepetitionInterval.TotalMinutes) { $triggerMatches = $true }