diff --git a/foam_sync.ps1 b/foam_sync.ps1 index 1fa719a..06cd4d5 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -46,6 +46,7 @@ try { $currentAction = $existingTask.Actions[0] # Check Trigger + Write-Host "Checking trigger..." $triggerMatches = $false if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] ` -and $currentTrigger.RepetitionInterval.TotalMinutes -eq $trigger.RepetitionInterval.TotalMinutes) { @@ -53,6 +54,7 @@ try { } # Check Action + Write-Host "Checking action..." $actionMatches = $false if ($currentAction -is [Microsoft.Management.Infrastructure.CimInstance] ` -and $currentAction.Execute -eq $taskExecute `