foam_sync.ps1 (LIFEBALANCE) 2025-06-19T18:49:21Z
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user