foam_sync.ps1 (LIFEBALANCE) 2025-06-19T19:17:00Z
This commit is contained in:
@ -64,7 +64,7 @@ try {
|
|||||||
Write-Host "Checking trigger..."
|
Write-Host "Checking trigger..."
|
||||||
$triggerMatches = $false
|
$triggerMatches = $false
|
||||||
if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] `
|
if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] `
|
||||||
-and $currentTrigger.Repetition.Interval.TotalMinutes -eq $trigger.Repetition.Interval.TotalMinutes) {
|
-and $currentTrigger.Repetition.Interval -eq $trigger.Repetition.Interval) {
|
||||||
$triggerMatches = $true
|
$triggerMatches = $true
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user